Merge pull request #17 from synthead/support-rpi-pico

Support the Raspberry Pi Pico
This commit is contained in:
Maxwell Pray
2023-07-11 13:36:30 -07:00
committed by GitHub
3 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -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:
![image](https://user-images.githubusercontent.com/820984/187859185-94f02df7-64f5-4bb3-bf00-12621f5f3b38.png)
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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;