Skip to content

Commit

Permalink
Down to 7 Compilation Errors !!!
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Nov 4, 2016
1 parent b6ea693 commit 8cc237f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions MrlMsg.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "ArduinoMsgCodec.h"
#include "LinkedList.h"
#include "MrlIo.h"
#include "Arduino.h"


// ------ error types ------
Expand Down
12 changes: 12 additions & 0 deletions virtual/Arduino.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
#ifndef VIRTUAL_ARDUINO_H
#define VIRTUAL_ARDUINO_H

#define NULL 0
#define TWCR 0
#define TCCR0B 0
#define TCCR1B 0
#define TCCR2B 0

typedef unsigned char byte;

#include "Serial.h"
#include "Servo.h"
#include "HardwareSerial.h"


unsigned long micros();
unsigned long millis();
void digitalWrite(int pin, int value);
void analogWrite(int pin, int value);
void pinMode(int pin, int value);



#endif VIRTUAL_ARDUINO_H

0 comments on commit 8cc237f

Please sign in to comment.