ROBODYSSEY SYSTEMS LLC

Product Catalog
Code Page
Policies
Gallery
Whats New
Press Releases
Resources
Links
Contact Us
About Us
Press
Educators Page
BasicX and Robotics book
After School
Mini Challenge!
Hack-A-Toy
Shopping Cart

Home Product Catalog Shopping Cart Resources Links
Code Page Policies Gallery

program Shloop
Dim x as integer'Why not Snork?
Main:
TrisB = %00000000 'Set All the pins in Port B to Output
TrisA = %00000010 'Set Pin 1 to input on Port A
CMCON = %00000111 'Turn off the comparitor
'************* Just couple of flashes ******************
PortB = 34
Delay_ms(300)
PortB = 0
Delay_ms(300)
PortB = 34
Delay_ms(300)
PortB = 0
Delay_ms(300)
'*************************************************
While True
x = 50 ' Loop the Pulse 50 times
While x > 1
x = x - 1
PortA = %00000001 ' Pulse on the IR LED
delay_us(8)
PortA = %00000000 ' Pulse off the IR LED
delay_us(8)
Wend
If testbit(PortA,1)= 0 Then ' If the Detector goes low then:
PortB = %00001000 ' Light up the LED
delay_ms(500) ' Hold it there for a spell
PortB = 0 ' Clear Port B
End If
Wend
End.

Home Product Catalog Shopping Cart Resources Links
Code Page Policies Gallery

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.