|
'***************4 LEDS***************
program FourLEDs_I
'***********************************************
sub procedure Dlay100 ' Create a sub procedure
delay_ms(100) ' Turn on forth LED on PortB
end sub ' End of sub procedure
'***********************************************
main:
TrisB = %00000000 ' Configure pins of PortB as output
While TRUE
PortB = %00000001 ' Turn on first LED on PortB
Dlay100
PortB = %00000010 ' Turn off second LED on PortB
Dlay100
PortB = %00000100 ' Turn on third LED on PortB
Dlay100
PortB = %00001000 ' Turn on forth LED on PortB
Dlay100
Wend ' Go back up to flash portion
End.
'***********************************************
|
Robodyssey Systems manufactures Robot Kits including Autonomous Mobile
Walking Robots, Wheeled Robots, Talking Robots, Expressive Robots, and
Social Robots. We also sell Robotics Accessories including Nexcell NiMH AA
Rechargeable Batteries, Nexcell NiMH AAA Rechargeable Batteries, Battery Holders,
Velcro Straps for Battery Packs, Battery Chargers, Robot Grippers, Hobby Servos,
Servos Modified for Continuous Rotation, Tail Wheels for all Rolling Robotic Platforms,
Polyurethane Skate Wheels with Servo Adapter Hubs, Sharp IR Sensors and Adjustable
Sensor Brackets, Sensor Cables, and Programming Cables. All of our Robot Kits
can be purchased as easy to assemble robot kits or as fully assembled stationary
or mobile robots. Robodyssey uses 1/8 inch aluminum and acetyl for most all of
our mobile robot components and robotics accessories. We provide classroom
training for teachers interested in integrating robotics, computer programming
and electronics into the classroom.
We hope you enjoy our web site. Feel free to use any robotic resources.
Robodyssey is your complete solution for Educational Robotics as well as Hobby Robotics.
|