Commit Graph
9 Commits
Author SHA1 Message Date
lewisxhe 12f12f8cd6 ESP32C3 Keyboard firmware add revision notes 2025-06-20 14:19:20 +08:00
Kilrah 1eb6fb0ebd Add new commands to allow reading raw key states 2025-06-11 21:58:37 +02:00
Michael HaslamandGitHub 11d463ceda Fix ledc error reported over serial on boot. 2025-03-16 00:10:11 +00:00
lewisxhe 9d15775e79 Added keyboard backlight control function 2024-12-25 09:24:29 +08:00
lewisxhe 9ce2f1e215 Fixed SYM function https://github.com/Xinyuan-LilyGO/T-Deck/issues/70 2024-12-24 17:37:35 +08:00
lewisxhe 5d21e58792 Fix typos and the backlight function key sends the character 'b' https://github.com/Xinyuan-LilyGO/T-Deck/issues/69 2024-12-18 09:11:31 +08:00
Nick Owens 28ece15372 Keyboard_ESP32C3: fix i2c setup as peripheral
for some reason with my version of platformio, the call to

	Wire.begin((uint8_t)I2C_DEV_ADDR, SDA, SCL);

will resolve to controller setup instead of peripheral setup, and wrong
parameters for it:

	entry 0x403cc710
	[    44][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=85 scl=2 freq=10
	[    44][E][esp32-hal-i2c.c:88] i2cInit(): i2c_param_config failed
	Starting keyboard work!

to call the correct overloaded function for peripheral setup, add 0 to
the call for the default frequency. with this, peripheral setup works
and the keyboard can communicate with the t-deck esp32s3 successfully:

	entry 0x403cc710
	[    44][I][esp32-hal-i2c-slave.c:234] i2cSlaveInit(): Initialising I2C Slave: sda=2 scl=10 freq=100000, addr=0x55
	[    44][D][esp32-hal-i2c-slave.c:486] i2c_slave_set_frequency(): Fifo thresholds: rx_fifo_full = 28, tx_fifo_empty = 4
	Starting keyboard work!
2023-08-27 17:00:48 -07:00
lewishe 07850bcfbc Add condition judgment 2023-05-30 09:10:45 +08:00
lewishe ef2d94aafe Added ESP32C3 Keyboard example 2023-04-11 11:57:59 +08:00