1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Fixed issue #1478, #1599, #1709, motors being opposite, updated turning algorithm

This commit is contained in:
Xun Yang
2014-02-12 02:02:20 +01:00
parent b78fcf5139
commit 53adddcb33
33 changed files with 58 additions and 1100 deletions

View File

@ -23,6 +23,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
// use arrays to store the names of the pins to be read
uint8_t arr[] = { M0, M1, M2, M3, M4, M5, M6, M7 };

View File

@ -21,6 +21,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup() {
// initialize the robot

View File

@ -24,6 +24,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup(){
// initialize the robot

View File

@ -16,6 +16,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup() {
// initialize the robot

View File

@ -22,6 +22,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup(){
// initialize the robot

View File

@ -16,6 +16,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
int value;

View File

@ -15,6 +15,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
int value;

View File

@ -18,6 +18,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup() {
// initialize the robot

View File

@ -21,6 +21,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup() {
// initialize the robot

View File

@ -44,6 +44,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup() {
// initialize the robot

View File

@ -15,6 +15,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup() {
// initialize the robot

View File

@ -17,6 +17,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup() {
// initialize the robot

View File

@ -15,6 +15,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup() {
// initialize the robot

View File

@ -25,6 +25,8 @@
*/
#include <ArduinoRobot.h>
#include <Wire.h>
#include <SPI.h>
void setup() {
// initialize the serial port