I can get both touch and touch16 to work, eg I can sertxt out the of the variable giving its value.
I am using 8 off 8mm dia pads and wire of about 300mm out to them. It is only a test case at this stage so I covered the pads with 1 layer of sellotape. I works but dont get much difference between touched (say 4000 to 5000) and untouched (say 3000 to 4000) and different reads from each pad with some overlap. eg some untouched pads read higher than other touched ones. so it is difficult to get a trigger point to satisfy all eg above the trigger it flags 1 for touched and below trigger flags 0 for untouched.
I was going to try the effect of the config option but get syntax error if I use it.
Normal code is ......... touch16 C.0,w2
This gives syntax error .......... touch16 %10001001, C.0,w2
also get error with ............... touch16 10001001, C.0,w2
and also syntax error with
let b9 = %10001001
touch16 b9.C.0,w2
Also query does using pwmout on B.3 upset touch... ??? I am using a 18M2+
I am using 8 off 8mm dia pads and wire of about 300mm out to them. It is only a test case at this stage so I covered the pads with 1 layer of sellotape. I works but dont get much difference between touched (say 4000 to 5000) and untouched (say 3000 to 4000) and different reads from each pad with some overlap. eg some untouched pads read higher than other touched ones. so it is difficult to get a trigger point to satisfy all eg above the trigger it flags 1 for touched and below trigger flags 0 for untouched.
I was going to try the effect of the config option but get syntax error if I use it.
Normal code is ......... touch16 C.0,w2
This gives syntax error .......... touch16 %10001001, C.0,w2
also get error with ............... touch16 10001001, C.0,w2
and also syntax error with
let b9 = %10001001
touch16 b9.C.0,w2
Also query does using pwmout on B.3 upset touch... ??? I am using a 18M2+