I can't get me weak pullups to work. Oooh Errr Missus!
But seriously,
I've seen several recent references to “weak pullups” (WPU)
For example, Post no. 13 of
http://www.picaxeforum.co.uk/showthread.php?t=3974&highlight=frost+alarm&page=2
AXE091 board./ Ultra LED/ 08M
Using the above link, I tried this program :
I connected an LED to pin 2. On ALL the time.
Then, I tried this :
Again, the LED on pin2 was always ON.
And, while both of the above programs were running,
the F8 terminal screen showed gobbledegook.
OK, I've probably made a giant mistake somewhere,
(so what's new?)
but,
has anyone pulled 'em up?
)
But seriously,
I've seen several recent references to “weak pullups” (WPU)
For example, Post no. 13 of
http://www.picaxeforum.co.uk/showthread.php?t=3974&highlight=frost+alarm&page=2
AXE091 board./ Ultra LED/ 08M
Using the above link, I tried this program :
Code:
looper:
poke $81, %01111111 'Enable GPPU General pull up enable
poke $95, %00011110 'E.g. Pull up all pins 1,2,3,&4
wait 1
poke $95, %00010000 'E.g. Pull up pin 4 only
wait 1
poke $95, %00001010 'E.g. Pull up pin 3 and 1 only
wait 1
poke $95, %00000000 'E.g. Pull up no pins
wait 1
goto looper
Then, I tried this :
Code:
poke $81, %00011110 'Enable GPPU General pull up enable
main:
poke $95, %00000000
wait 1
poke $95, %00000100
wait 2
goto main
And, while both of the above programs were running,
the F8 terminal screen showed gobbledegook.
OK, I've probably made a giant mistake somewhere,
(so what's new?)
but,
has anyone pulled 'em up?
)