Replies: 1 comment
-
Hi, I have some questions about your code. You have defined a table with all the bits for the (select, led, 7-segment, button query). void ICACHE_RAM_ATTR SPI_handleLatch() {
} if we for example received data to run this line: else if (bitRead(buf, 6) == 0) readSegment(0); readSegment(0) is directly executed so you use the same data in buf but now you are checking the 7 segment bits. how is this possible? don't you need to read again 16bits before running readSegment(0)?? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions