Teensy Test code for communication to board

This commit is contained in:
Jarrad Brown 2026-02-23 17:28:40 -06:00
parent f503dd3f8c
commit 1668ca09e5
2 changed files with 26 additions and 0 deletions

View file

@ -12,3 +12,26 @@
platform = teensy platform = teensy
board = teensy41 board = teensy41
framework = arduino 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/>

View file

@ -10,6 +10,9 @@ void setup() {
void loop() { void loop() {
// put your main code here, to run repeatedly: // put your main code here, to run repeatedly:
int data = myFunction(50,1);
Serial.print((int)data);
delay(1000);
} }
// put function definitions here: // put function definitions here: