Commit Graph

7 Commits

Author SHA1 Message Date
raiden00pl
6a8344bf37 examples/nxscope: change the vector data sent by nxscope to be a 3-phase sin waveform
A changing waveform is nicer to visualize than a static vector.
2023-12-02 20:11:21 -08:00
raiden00pl
e7bb97cb5f examples/nxscope: make channel 19 configurable
Channel 19 uses an additional thread to send a text message.
This commit makes this behaviour configurable.
2023-12-02 20:11:21 -08:00
raiden00pl
5cfcd769bf examples/nxscope: make main interval configurable 2023-12-02 20:11:21 -08:00
raiden00pl
ee1e84a261 examples/nxscope: add a new option to wake up the samples thread with timer.
Now we can add samples with at a higher frequency than with usleep().
2023-02-08 02:54:56 +08:00
raiden00pl
bcd721b627 examples/nxscope: add support for CDCACM dev 2023-02-08 00:34:33 +08:00
Xiang Xiao
a29d9ea9da fsutils/examples: Include unistd.h explicitly
to get the prototypes or macros are defined in it

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-05 08:46:59 +02:00
raiden00pl
eb8ad7af2f add NxScope example 2022-12-28 01:40:24 +08:00