Scripted component twi master
Quote from nemka on May 22, 2026, 11:35 pmHello,
setMode works but calling sendByte crashes the application.
I need sample code for this sequence:
start
sending address (r/w = 0)
sending one byte
restart
sending address (r/w = 1)
reading 3 bytes
seanding NACK after last byte
stopI also need to know how to check if slave sent NACK?
Hello,
setMode works but calling sendByte crashes the application.
I need sample code for this sequence:
start
sending address (r/w = 0)
sending one byte
restart
sending address (r/w = 1)
reading 3 bytes
seanding NACK after last byte
stop
I also need to know how to check if slave sent NACK?
Quote from arcachofo on May 23, 2026, 12:53 pmHi there.
TWI Master mode for Scripts is not yet implemented, but I think is not too much work.
I will have a look.
Hi there.
TWI Master mode for Scripts is not yet implemented, but I think is not too much work.
I will have a look.
Quote from nemka on May 23, 2026, 6:47 pmIt explains a lot. 🙂
Thank you for your work.
It's not urgent, I can write a twi master stack in script.
It explains a lot. 🙂
Thank you for your work.
It's not urgent, I can write a twi master stack in script.
