Thursday, 24 September 2015
Explenation of the code is comming soon
Below is the code in the meantime, It is written in C++
AF_DCMotor motorM1(1, MOTOR12_64KHZ); // create motor #1, 64KHz pwm
AF_DCMotor motorM2(2, MOTOR12_64KHZ); // create motor #2, 64KHz pwm
AF_DCMotor motorM3(3, MOTOR12_64KHZ); // create motor #1, 64KHz pwm
AF_DCMotor motorM4(4, MOTOR12_64KHZ); // create motor #2, 64KHz pwm
To create the app that I made to go with my robot I when to the website of App Inventor http://ai2.appinventor.mit.edu/. Google Created App Inventor, to allow anyone to create basic apps.
In this tutorial I will show you how to create an app which can send a command over Bluetooth, for another device to receive the command. I will be showing how I created my app but you can customise it for your own needs.