Search found 4 matches
- Wed May 03, 2023 5:56 am
- Forum: General Discussion
- Topic: ESP32 and TM1637 LED DIsplay
- Replies: 3
- Views: 5675
Re: ESP32 and TM1637 LED DIsplay
Second, by default the controller send data with the MSB first , and I could not succeed in changing to sending the LSB first, so I have to inverse the bits myself .
Today I finally saw how I failed to set data mode to LSB, here is updated code with normal values for commands.
setup, I use ...
- Tue May 02, 2023 5:17 am
- Forum: General Discussion
- Topic: ESP32 and TM1637 LED DIsplay
- Replies: 3
- Views: 5675
Re: ESP32 and TM1637 LED DIsplay
Hello, I guess the original poster has moved on, but trying to do it since yesterday and just having succeeded now, I believe that it is usefull to post here.
First, I did not use existing libraries that do bit banging, but I used standard i2c driver . With pull-up resistors of 270 ohms, I could ...
First, I did not use existing libraries that do bit banging, but I used standard i2c driver . With pull-up resistors of 270 ohms, I could ...
- Tue Aug 24, 2021 9:07 pm
- Forum: ESP-IDF
- Topic: How to write Kconfig menu to select GPIO pin as gpio_num_t
- Replies: 2
- Views: 2317
Re: How to write Kconfig menu to select GPIO pin as gpio_num_t
Yes, it works with casting. Thank you.
- Mon Aug 23, 2021 7:15 pm
- Forum: ESP-IDF
- Topic: How to write Kconfig menu to select GPIO pin as gpio_num_t
- Replies: 2
- Views: 2317
How to write Kconfig menu to select GPIO pin as gpio_num_t
Hello,
I am trying to write a Kconfig menu to be able to choose the GPIO pin for a given use.
But it seems that I can only choose an integer value, e.g. :
config PIN_STATUS_MAIN
int "Main LED GPIO number"
range 0 34
default 23
help
GPIO number (IOxx) for the 'Main status' LED.
And then ...
I am trying to write a Kconfig menu to be able to choose the GPIO pin for a given use.
But it seems that I can only choose an integer value, e.g. :
config PIN_STATUS_MAIN
int "Main LED GPIO number"
range 0 34
default 23
help
GPIO number (IOxx) for the 'Main status' LED.
And then ...