Files
hexapod-robot/2011-firefly-mega-ssc32/firmware/2012-behaviours-wip/FireFly/FireFly.ino
T
mangavalk 6e50819e01 FireFly 2012: behaviour rewrite now uses the hexapod library
From Electronics\Hexapod\Arduino sketches 2011-2012\FireFly. Data.h, Def.h and SerD.h moved into the library.
2012-07-23 17:56:33 +02:00

32 lines
457 B
Arduino

// Hexapod FireFly
#include "hexapod.h"
#include "Gedrags_Classen.cpp"
//Watchdog WD;
//Ultrasone US;
hexapod *FireFly = new hexapod;
void setup()
{
Serial.begin(38400);
Serial1.begin(38400);
pinMode(13, OUTPUT);
FireFly->FireFly();
}
// Main loop.
void loop()
{
DataObject *cache = new DataObject;
cache->input(5, 3, 8, 8, 3, 0, 5, 3, -8, 5, 3, 8, 8, 3, 0, 5, 3, -8, 500);
//WD.CheckTime(DataLine);
FireFly->CoreSend(cache);
}