|
|
|
|
|
by scoutt
1468 days ago
|
|
From a functional PoV, yes, timing seems to be relaxed by publishing sensor data every 60 seconds. From an embedded system PoV, your sensor might be a 1-Wire protocol device with a super strict signal timing. How do you mix both timing requirements? How do you differentiate embedded projects requiring "precise timing" from those others requiring "every 60 seconds"? Unless Toit provides drivers for all kind of buses, sensors and peripherals AND it orchestrates the GC with the strict timing requirements. Otherwise it's probably a good fit only if it just runs on a known controlled development board/architecture/platform. |
|
For example the 1-wire protocol is implemented using the RMT (remote control) peripheral. The pixel strips driver uses the UART or i2s.
If really necessary, we could drop down to C, but the hardware is usually better (more precise and leaves us to do other things in the meantime).