+ Hint: `lf_sleep` is part of the LF C target's platform API; include `platform.h` in a preamble before using it. The LF docs list `lf_sleep` among [available libraries requiring `#include`](https://www.lf-lang.org/docs/next/reference/target-language-details/#available-libraries-requiring-include), define it as pausing execution for a duration in the [C platform API](https://www.lf-lang.org/reactor-c/group__Platform.html#ga9a43894d4caf7e2fc1e75b9b49d7285d), and show a similar use in the [physical actions example](https://www.lf-lang.org/docs/next/writing-reactors/actions/#physical-actions).
0 commit comments