Commit Graph

17 Commits

Author SHA1 Message Date
true fc72a2a326 tabs lol 2023-11-01 21:06:48 -07:00
true 6a2e8164d9 Fix flash routine bugs, make it work 2023-11-01 10:15:18 -07:00
true b3c799d7e7 Fixed config flash routines, added probe calibration routine
Have only tested one config write so far. Will test others and fix if needed
2023-11-01 09:43:14 -07:00
true 6394c3aaff Implement flash config storage
Calibration needs to be saved for each badge in continuity mode. Added a flash-backed user config storing option with basic wear leveling. Have NOT yet tested the write and erase functions.
2023-11-01 07:45:44 -07:00
true ad383a76ac Changed error flash routine
Need to add other features that involve flashing the error code lights, so made it possible to do this with different colors and without interfering with running programs
2023-11-01 06:05:40 -07:00
true 418fdafe56 Change some ADC parameters
Still getting ~64 reads per update cycle, but sampling a little slower. After doing some testing it may - or may not - result in more stability of readings.

Doubled the count of averaged readings.
2023-11-01 06:05:01 -07:00
true 36a55a865b Fix diode check limits, allow for two-mode continuity limit
D1 has changed to a 5V1 zener and is loading the circuit a little bit. Adjusted voltage based on tested value on prototype. This value may differ on production units so expect this to possibly change.
2023-10-31 19:50:30 -07:00
true f2d4afce1c Add error mode indicator when SET1 is set above max 2023-10-31 08:22:27 -07:00
true aa52d57149 Added more RGBLED programs, ADC fixups 2023-10-31 07:46:11 -07:00
true 724a2402ab Added initial RGBLED program, basic button handling
Just another rainbow thing.
2023-10-22 00:40:01 -07:00
true 0afa454588 Continuity and diode mode initial implementation
Reads continuity at a fixed ~100ohm or lower, and diodes with intelligent detection of LEDs vs normal diodes. Some values may need to be changed still.
2023-10-21 19:45:15 -07:00
true 859c04f782 Update flash routines
Support setting HSI to multiple speeds, but do it in a way that doesn't waste bytes.
Remove dead code.
2023-10-21 16:44:31 -07:00
true b581b87b86 WIP code
FLASH OPTR write routine implemented and tested.
Fixed wrong GPIO output values initialization.
2023-10-21 04:43:58 -07:00
true 13700b96ca WIP Code
ADC now works in interrupt mode. No idea why DMA was unreliable.

Initial button push / release detection and mode switch detection working. No callbacks implemented yet.
2023-10-19 19:53:04 -07:00
true ecc478661f WIP code
ADC is sort of functioning, but not reliably. LEDs are sort of working. Buzzer isn't working right and is nearly always on as I can't set the PF2 mode.
2023-10-19 16:20:41 -07:00
true 096131b87b WIP code
Builds, but is not yet usable in any way nor is anything tested.

This includes ADC reading, basic RGBLED control, and init code. Still need to do probe, user IO including mode select and settings, RGBLED programs, and more.
2023-10-16 14:29:23 -07:00
true dbbe507931 Initial repository layout, add datasheets and device pack 2023-10-16 14:26:16 -07:00