Hundred1906
Member
Going crazy here because I am missing something simple.
Have a copper pad on the back of a panel wired onto bin b.3 and when I use the touch command it always returns 0. As does Touch16.
Same pin with a ReadADC command returns a value.
The pin is connected, not shorted, and I have tried a different 14M2 part. There is no resistor connected.
Have use Touch before with other variants but don't remember this difficulty. Comment welcome.
Have a copper pad on the back of a panel wired onto bin b.3 and when I use the touch command it always returns 0. As does Touch16.
Same pin with a ReadADC command returns a value.
The pin is connected, not shorted, and I have tried a different 14M2 part. There is no resistor connected.
Code:
#picaxe 14m2
#no_data
setfreq m8
do
touch16 b.3,w0 'always returns 0?
'readadc10 b.3,w1
sertxd (#w0," ",#w1,cr,lf)
loop