forked from mohr/ArduinoIO
main tweaks
This commit is contained in:
parent
de9bb974c4
commit
2bc352afb3
6
main.cpp
6
main.cpp
@ -1,10 +1,7 @@
|
|||||||
#include <Arduino.h>
|
|
||||||
|
|
||||||
#include "IOBoard.h"
|
#include "IOBoard.h"
|
||||||
#include "ArduinoConfig.h"
|
#include "ArduinoConfig.h"
|
||||||
|
|
||||||
// TODO: Copy this header into arduino_core, so it can be used without
|
#include <Arduino.h>
|
||||||
// Eclipse Sloeber as well.
|
|
||||||
#include <arduino-timer.h>
|
#include <arduino-timer.h>
|
||||||
#include <avr/io.h>
|
#include <avr/io.h>
|
||||||
|
|
||||||
@ -39,7 +36,6 @@ void setup() {
|
|||||||
|
|
||||||
bool periodicHandler1(void* args) {
|
bool periodicHandler1(void* args) {
|
||||||
if(args) {};
|
if(args) {};
|
||||||
Serial.println("Handling new data!");
|
|
||||||
IOBoard::handleNewData();
|
IOBoard::handleNewData();
|
||||||
// repeat action
|
// repeat action
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user