microsoft / devicescript

TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
https://microsoft.github.io/devicescript/
MIT License
3.24k stars 112 forks source link

Does DeviceScript supports custom C code? #615

Closed weixiongmei closed 9 months ago

weixiongmei commented 10 months ago

Hi,

Is there a way to call the custom C code from DeviceScript? Because needed the RealTime processing for some sensors. Thanks

pelikhan commented 9 months ago

@mmoskal maybe a new entry about fast real time C in "runtime.mdx"?

pelikhan commented 9 months ago

For real time application which are time sensitive, you will need to write a C driver.