-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |