Comment

Comment by SV_BubbleTime

So every I2C command is a relay hop? The 10th key in a chain has all the latency of the 9 before it who got the message and relayed it on? Separately what happens when the key is connected on all four of its sides? Does it receive four messages and need to send out four? Or is there some discovery of best path to master? I assume the master polls out “hey have you been pressed” to everyone?

Off the top of my head, I think I would have considered a masterless node system like CAN here, there everyone would just post their press status on change and on cyclic… because if you have to relay I2C messages even at 400kbps, that seems like a latency build up at n keys down the line.

But, I haven’t really thought about it at all. I’ve only used I2C like twice ever!

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton