Teensy Test code for communication to board
This commit is contained in:
parent
f503dd3f8c
commit
1668ca09e5
2 changed files with 26 additions and 0 deletions
|
|
@ -12,3 +12,26 @@
|
|||
platform = teensy
|
||||
board = teensy41
|
||||
framework = arduino
|
||||
|
||||
monitor_speed = 115200
|
||||
upload_protocol = teensy-gui
|
||||
|
||||
lib_deps =
|
||||
https://github.com/ssilverman/QNEthernet.git
|
||||
|
||||
build_flags =
|
||||
-Ilib/opener
|
||||
-Ilib/opener/cip
|
||||
-Ilib/opener/cip_objects
|
||||
-Ilib/opener/enet_encap
|
||||
-Ilib/opener/utils
|
||||
-Ilib/opener/teensy_port
|
||||
-Ilib/opener/ports/teensy_port
|
||||
|
||||
${env.build_flags}
|
||||
-Wall
|
||||
-Wextra
|
||||
|
||||
build_src_filter =
|
||||
+<*>
|
||||
-<lib/opener/ports/>
|
||||
|
|
@ -10,6 +10,9 @@ void setup() {
|
|||
|
||||
void loop() {
|
||||
// put your main code here, to run repeatedly:
|
||||
int data = myFunction(50,1);
|
||||
Serial.print((int)data);
|
||||
delay(1000);
|
||||
}
|
||||
|
||||
// put function definitions here:
|
||||
|
|
|
|||
Loading…
Reference in a new issue