nano softserial note
This commit is contained in:
parent
f958789b20
commit
f73a1e3931
|
@ -0,0 +1,34 @@
|
|||
/**
|
||||
*
|
||||
* Camera Remote Menu
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
* Camera Settings
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
**/
|
||||
|
||||
#include <SoftwareSerial.h>
|
||||
|
||||
#define SOFTWARE_RX 10
|
||||
#define SOFTWARE_TX 11
|
||||
|
||||
SoftwareSerial softPort(SOFTWARE_RX, SOFTWARE_TX);
|
||||
|
||||
void setup () {
|
||||
softPort.begin(57600);
|
||||
}
|
||||
|
||||
|
||||
void loop () {
|
||||
if (softPort.available() > 0) {
|
||||
//sChar = softPort.read();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue