15 lines
428 B
Plaintext
15 lines
428 B
Plaintext
Starts up the Pico W and has it listen on port 1234
|
|
|
|
Any TCP request will be responded to with 4 `u16`(16 bytes) adc raw reads in the order:
|
|
|
|
1. Internal Temp Sensor
|
|
2. GPIO 26
|
|
3. GPIO 27
|
|
4. GPIO 28
|
|
|
|
While this can be configured with any external hardware, the current setup is:
|
|
|
|
- LM4040 3V ref across `ADC_VREF` and `GND`
|
|
- GPIO 28 is tied to GND
|
|
- GPIO 27 is tied to 3V
|
|
- GPIO 26 is read via a voltage divider of 22.3k / 3.3k |