add schematic

This commit is contained in:
2025-09-11 10:13:37 -04:00
parent a1cb13a2f9
commit fed9e7ae70
5 changed files with 14482 additions and 5 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
/build/**/*
/external/**/*
/*/**/*
!/html/**/*
+2
View File
@@ -17,6 +17,8 @@ You will need the following hardware to make the device:
- light dependent resistor such as GL5528 (specific part number may vary)
- 10k ohm resistor (resistance value may vary)
![Wiring schematic](schematic.svg)
You will need to cut the USB extension in half and connect the wires from the
female end to the Raspberry Pi Pico (2). The default configuration is to attach
the USB's green wire to pin 1/GP0 and USB's white wire to pin 2/GP1. You will
-2
View File
@@ -312,8 +312,6 @@ void parse_colors(char * data, uint16_t len) {
if (token != NULL) {
// first string is the RGB color code
uint8_t red, green, blue;
// sscanf(token, "%2x%2x%2x", &red, &green, &blue);
// sscanf causes Pico 1 to crash
red = hexbyte(token);
green = hexbyte(token+2);
blue = hexbyte(token+4);
-1
View File
@@ -196,5 +196,4 @@ bool load_rgb_config(void);
#error "Unsupported device. Expected RP2040 or RP2350."
#endif
#endif
+14478
View File
File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 263 KiB