Changes between Version 2 and Version 3 of WikiStart
- Timestamp:
- Mar 8, 2017, 6:34:03 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v2 v3 17 17 RB0-RB3 are used to get 4 GPIO status from the SoC. 18 18 19 Each sample reported to the host is composed of 3 values: GPIO state (integer between 0 and 15), voltage (AN0 value between 0 and 4095) and current (AN1 value between 0 and 95), in the format: ''gvvvcccX'', with ''g'', ''v'' and ''c'' being hexadecimal digits and ''X'' being the letter X used as separator. With 8 bytes per sample, at 921600 bauds we could report in theory up to 11520 samples/s. To be safe we choose to run at 5000 samples/s (which requires 10000 A/D conversions/s). 19 20 20 21