-
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
19 changed files
with
547 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,4 +72,5 @@ unsigned char MrlCmd::getIoCmd(int pos){ | |
|
||
int MrlCmd::getMsgSize(){ | ||
return msgSize; | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -86,4 +86,4 @@ class MrlComm{ | |
int getCustomMsgSize(); | ||
}; | ||
|
||
#endif | ||
#endif |
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 |
---|---|---|
|
@@ -36,4 +36,4 @@ class MrlI2CBus : public Device { | |
void update(); | ||
}; | ||
|
||
#endif | ||
#endif |
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 |
---|---|---|
|
@@ -108,4 +108,4 @@ void MrlIo::flush() { | |
serial->flush(); | ||
} | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -31,4 +31,4 @@ class MrlIo { | |
void test(); | ||
}; | ||
|
||
#endif | ||
#endif |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include "Arduino.h" | ||
|
||
unsigned long micros(){return 0;} | ||
unsigned long millis(){return 0;} | ||
void digitalWrite(int pin, int value){}; | ||
void analogWrite(int pin, int value){}; | ||
void pinMode(int pin, int value){}; | ||
int digitalRead(int pin){return 0;}; | ||
int analogRead(int pin){return 0;}; | ||
void delay(int){}; | ||
|
||
uint8_t digitalPinToBitMask(int){return 0;}; | ||
|
||
void cli(){}; | ||
void sei(){}; | ||
bool bitRead(unsigned char, unsigned char){return 0;}; | ||
unsigned int random(unsigned int){return 0;}; | ||
|
||
int __brkval=0; | ||
int __heap_start=0; |
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#include "HardwareSerial.h" | ||
|
||
|
||
HardwareSerial Serial; |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* HardwareSerial_h.h | ||
* | ||
* Created on: Nov 3, 2016 | ||
* Author: gperry | ||
*/ | ||
|
||
#ifndef VIRTUAL_HARDWARE_SERIAL_H_ | ||
#define VIRTUAL_HARDWARE_SERIAL_H_ | ||
|
||
class HardwareSerial { | ||
public: | ||
HardwareSerial(){}; | ||
virtual ~HardwareSerial(){}; | ||
void begin(int){}; | ||
void write(unsigned char){}; | ||
void write(unsigned char*, int){}; | ||
unsigned char read(){return 0;}; | ||
int available(){return 0;}; | ||
void end(){}; | ||
void flush(){}; | ||
}; | ||
|
||
|
||
extern HardwareSerial Serial; | ||
|
||
#endif /* VIRTUAL_HARDWARE_SERIAL_H_ */ |
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
Empty file.
Oops, something went wrong.