Commit Graph

38 Commits

Author SHA1 Message Date
true 218819f75f fixed led flashing in programming mode being fucked
don't write code when sleep deprived you make stupid mistakes
2024-08-08 03:51:24 -07:00
true 3eb211fb54 finally fixed bug in i2c address scan check routine
was checking if set instead of negated. oops.
2024-08-08 03:35:03 -07:00
true d32442da9a non-white cursor no longer stays on in programming modes 2024-08-08 03:33:23 -07:00
true 3a48cd8f06 change button gpio init to be like other programs, as part of gpio_init() 2024-08-08 03:32:59 -07:00
true 340cdcad89 initialize memory for led programs at startup 2024-08-07 13:22:24 -07:00
true 4dc61abc40 minor cleanup, fixes to random mode 2024-08-07 09:37:13 -07:00
true 987fc7b39d move bootloader utility 2024-08-05 22:46:44 -07:00
true 4e7985273b RELEASE v0.0.1: parameter editor works, fixed bugs 2024-08-05 22:28:20 -07:00
true 64ac32160b program 5 works with preview; program selection mode is working 2024-08-05 20:45:58 -07:00
true 184c466c3b program 2 works in preview mode 2024-08-05 20:00:26 -07:00
true 196a2b8301 holding BTN1 at boot will now reset settings to default
note that they are not stored yet. must go through an edit loop, or change your cursor config, in order to commit the settings to EEPROM.
2024-08-05 20:00:12 -07:00
true 0191126555 wip: fix preview on programs 0 and 1
both now "preview" properly in the program editor, but the program is a mess for testing this. fix before release
2024-08-05 18:02:02 -07:00
true 00a428a425 eeprom config save / restore working 2024-08-05 15:43:13 -07:00
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