One of the easiest micro controllers to program is the basic stamp range. For this reason I have chosen the BS2p stamp to demonstrate how easy it is to communicate with the HexEngine via the serial control port.
This programme demonstrates HexEngine locomotion control with a one way serial link from the BS2p to the HexEngine. To do this we are using a PS2 style dual shock controller. This code has been successfully tested up to 115200 baud, using a Joytech PS2 clone controller.
Note: If you are using a p.Brain-µ24, 5 Volts is not available from the board. |