forked from Michel2/timex-datalink-arduino
Merge pull request #17 from synthead/support-rpi-pico
Support the Raspberry Pi Pico
This commit is contained in:
3 files changed
+8
-3
No files matched your search
@@ -10,7 +10,12 @@ This Notebook Adapter emulator is tested to be compatible with:
|
|||||||
- [DSI Electronics e-BRAIN v1.1.6](https://archive.org/details/ebrain-1.1.6)
|
- [DSI Electronics e-BRAIN v1.1.6](https://archive.org/details/ebrain-1.1.6)
|
||||||
- [timex\_datalink\_client Ruby library](https://github.com/synthead/timex_datalink_client)
|
- [timex\_datalink\_client Ruby library](https://github.com/synthead/timex_datalink_client)
|
||||||
|
|
||||||
This project is not dependent on any specific Arduino board, although it is designed with the [Teensy LC](https://www.pjrc.com/teensy/teensyLC.html) in mind. The Teensy LC has USB serial and an onboard LED, so the board can be used as-is without any external components:
|
This project is not dependent on any specific Arduino board, although it has been tested to work with these devices:
|
||||||
|
|
||||||
|
- [Teensy LC](https://www.pjrc.com/teensy/teensyLC.html)
|
||||||
|
- [Raspberry Pi Pico](https://www.raspberrypi.com/products/raspberry-pi-pico)
|
||||||
|
|
||||||
|
These boards have USB serial interfaces and onboard LEDs, so they can be used as-is without any external components:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#define LED_PIN 13
|
#define LED_PIN LED_BUILTIN
|
||||||
|
|
||||||
#define LED_ON_MS_NORMAL 15
|
#define LED_ON_MS_NORMAL 15
|
||||||
#define LED_OFF_MS_NORMAL 450
|
#define LED_OFF_MS_NORMAL 450
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ namespace NotebookAdapter {
|
|||||||
case COMMAND_QUERY:
|
case COMMAND_QUERY:
|
||||||
if (command_mode) {
|
if (command_mode) {
|
||||||
Serial.print(COMMAND_QUERY_PAYLOAD);
|
Serial.print(COMMAND_QUERY_PAYLOAD);
|
||||||
Serial.write(0);
|
Serial.write((byte)0);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user