mirror of
https://github.com/synthead/timex-datalink-arduino.git
synced 2026-07-27 19:55:50 +00:00
Merge pull request #17 from synthead/support-rpi-pico
Support the Raspberry Pi Pico
This commit is contained in:
@@ -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)
|
||||
- [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_OFF_MS_NORMAL 450
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace NotebookAdapter {
|
||||
case COMMAND_QUERY:
|
||||
if (command_mode) {
|
||||
Serial.print(COMMAND_QUERY_PAYLOAD);
|
||||
Serial.write(0);
|
||||
Serial.write((byte)0);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user