Commit Graph

31 Commits

Author SHA1 Message Date
King Kévin 42be544bad read address bits from GPIO 2022-07-09 14:00:47 +02:00
King Kévin 8022c73fc0 fix optimized pin driving 2022-07-09 13:49:37 +02:00
King Kévin f9db11e8e4 set I²C address to 0x47 2022-07-09 13:48:18 +02:00
King Kévin 785860a37e define hd44780 pins according to create hardware 2022-07-09 13:47:27 +02:00
King Kévin d4478de954 doc: add project documentation 2022-07-09 13:44:53 +02:00
King Kévin e2d789ccd0 add init mode 2022-06-23 10:12:40 +02:00
King Kévin d37edd9e9d drive backlight using PWM 2022-06-23 10:06:16 +02:00
King Kévin 1e446cbb0b implement I²C modes/calls 2022-06-22 18:15:02 +02:00
King Kévin d3b5533f57 remove unused eeprom settings code 2022-06-22 12:49:40 +02:00
King Kévin 13e8d3b5d4 main: minor cleaning 2022-06-22 12:48:57 +02:00
King Kévin 57c1be26d3 main: import code from 2020-02-13 2022-06-22 12:41:24 +02:00
King Kévin be90d9a7d1 lib: remove unused libraries 2022-06-22 12:37:16 +02:00
King Kévin 34b10750af doc: minor, fox extension 2022-06-22 12:34:11 +02:00
King Kévin f73fd9ec0d doc: use markdown syntax 2022-06-22 11:08:36 +02:00
King Kévin 52d130a832 softi2c_master: add timeout to prevent infinite loop 2022-06-22 11:07:39 +02:00
King Kévin 04901a6ce1 softi2c_master: add software implementation I²C library 2022-06-22 11:07:39 +02:00
King Kévin 158d1899b9 i2c_master: mention more stable software implementation 2022-06-22 11:06:52 +02:00
King Kévin e22bef850b main: minor, improve code 2022-06-22 11:06:52 +02:00
King Kévin 30a5bc447c i2c_master: minor, remove irrelevant comment 2022-06-22 11:04:44 +02:00
King Kévin 3afd4eac87 i2c_master: make error checking simpler 2022-06-22 11:04:44 +02:00
King Kévin a7af5896a6 i2c_master: remove TIMEOUT since it makes little sense when sleeping 2022-06-22 11:04:44 +02:00
King Kévin 5325deaf59 i2c_master: sleep to reduce erronous pulse, and use interrupts to wake up 2022-06-22 11:04:44 +02:00
King Kévin 2e19d95dc1 i2c_master: improve flag check and add timeout 2022-06-22 11:04:44 +02:00
King Kévin 5879b0309e main: use header file 2022-06-22 11:03:22 +02:00
King Kévin 1d2be7ceb2 add I²C master library 2022-06-22 11:03:22 +02:00
King Kévin 81152cfee2 eeprom_blockprog: add EEPROM block programing library 2022-06-22 11:03:22 +02:00
King Kévin 9b5e9bb2b3 make: allow multiple source files 2022-06-22 11:03:22 +02:00
King Kévin b3b2eb4782 stm8s: fix data unlocking keys 2022-06-22 11:03:22 +02:00
King Kévin 2c9da799f8 stm8s.h: fix bit fields type 2022-06-22 11:03:22 +02:00
King Kévin b0c67e94f5 stm8s.h: add i2c fields 2022-06-22 11:03:22 +02:00
King Kévin d03330e461 initial firmware template 2020-09-30 16:59:31 +02:00