Physical Computing
About Me
Name:
Yoshie
View my complete profile
Previous Posts
Switch Var, counts the number of times the switch ...
Switch Var, during Switch ON, LED lights
Analog Input with 2 Pots & Switch--5 LED blink
Analog Input with Pot and LED blink
Switch makes 3LEDblink.
Switch makes LED blink
1 LED blink
Basic Electric Circuit
Intro to Physical Computing
Thursday, July 07, 2005
Binary Reflects LED blinks
'Set 8 LEDs into RB0 through RB7 and see this motion.
x var byte
trisb = %00000000
pause 500
' start program with a half-second delay
main:
for x = 0 to 255
portb = x
pause 500
next
pause 1500
goto main
posted by Yoshie @
Thursday, July 07, 2005
0 Comments:
Post a Comment
<< Home
0 Comments:
Post a Comment
<< Home