Commit Graph

5 Commits

Author SHA1 Message Date
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 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