Commit Graph

25 Commits

Author SHA1 Message Date
true 6785261d08 buttons operate properly now
what the buttons actually _do_ does not necessarily operate properly, except the cursor. that's been fixed
2024-08-05 13:04:54 -07:00
true 9d00b8daa1 clear LED values before initializing matrix
programs are rendered after LEDs are sent. this means the first update would be garbage. initialize the data so this is not the case.

also fix bug with current scaling register fill function (doesn't affect this program).
2024-08-04 19:41:11 -07:00
true 8cdc122363 README.md: minor changes 2024-08-04 06:52:01 -07:00
true d8bf688001 bootloader now functions
several issues with the bootloader, from gpio config, UART baud, etc.

bootloader now does the following:
- enters bootloader mode upon holding BTN2 at power-up
- flashes LED4 rapidly to indicate in bootloader mode
- operates WCH ISP bootloader at 115200 baud on the UART pins on GAT header
2024-08-04 06:39:10 -07:00
true 5177b02ab0 i2c, IS31FL3729 cleanup 2024-08-03 11:40:10 -07:00
true 8fb1368e0a minor performance fixups for program 4 2024-08-03 11:39:07 -07:00
true 5d722f41e8 cleanup is31fl3729 driver; LED updates only when needed now 2024-08-03 05:56:37 -07:00
true 5adce05f84 fix the phosphoric fade effect on program 4 2024-08-02 19:39:01 -07:00
true 6a2de9a6a6 fix incorrect cursor LED indices; fix rgb program 4 2024-08-02 19:27:45 -07:00
true 51239bffa7 fix rgb program 1, 2, and 3 2024-08-02 18:49:47 -07:00
true d24d0b6d03 knob: fix up brightness direction, limits
the knob now adjusts in a human-relatable way for min to max brightness.

the min and max brightness levels are now scaled correctly for the knob.
2024-08-02 17:47:17 -07:00
true 185578ad8d fix LEDs lighting, and fix up first RGB program 2024-08-02 17:33:40 -07:00
true d42f20773b fix ADC lockup while reading 2024-08-02 17:33:20 -07:00
true 70bf2c481f fix i2c comms failures 2024-08-02 17:33:02 -07:00
true f8ce60d511 add PCB schematic, light guide 3D model 2024-08-01 04:55:07 -07:00
true 48bf4a29d4 fix LEDs not going to full bright during editing 2024-08-01 04:46:00 -07:00
true 5d1cc3f518 reduce main interrupt tick rate 2024-08-01 04:45:31 -07:00
true f4bc0ca1c5 REAMDE.md: minor update 2024-08-01 04:44:31 -07:00
true 9d8653b528 directory path move 2024-07-29 03:47:51 -07:00
true 8b3c45cebd minor cleanup, add i2c single register read/write functions 2024-07-29 03:44:14 -07:00
true 20870dc3e3 i2c.c: added timeouts
added timeouts to all the polling functions in the i2c code. hopefully if something hangs this gets it going again.

timeouts are not added on the data transfer portion, only on the initial setup portion. need to test if this is good enough.
2024-07-28 16:49:17 -07:00
true 2268b5368d Add README.md 2024-07-28 16:22:08 -07:00
true 65a034de67 improve i2c; add gpio init functions; some minor fixups and cleanup
i2c is totally fucking broken though and needs to be replaced before con.
2024-07-28 16:16:03 -07:00
true 7a11164f8d 31fl3729.c: fix shift wrong way 2024-07-28 15:30:20 -07:00
true a675f6d19b initial commit of "complete" codebase
everything is completely untested. I'm sure most of this shit doesn't work and will be fixed when and if I get hardware.
2024-07-28 15:28:03 -07:00