---+ The ESP-IDF version The esp-idf version of hello world is almost identical to the Arduino version except the way it built. We must first tell the idf.py that we are using an !ESP32S3 chip: <verbatim>idf.py set-target esp32s3</verbatim> After that we may have to clean previous builds: <verbatim>idf.py fullclean</verbatim> and finally we can build the hello_world program: <verbatim>idf.py build</verbatim> Once the program is built we can flash it and connect the serial monitor to see the results: <verbatim>idf.py flash monitor</verbatim> The program repeatedly runs the induction for 20 angle values between 0 and 2Π. These values can easily be captured by redirecting the output to a file. I then used an editor to prepare the data to be plotted with gnuplot. <verbatim>idf.py flash monitor | tee results.txt</verbatim> Finally I wrote a simple Python program calculating the correct 20 sine values, which allows to compare them to the results from TinyML. <img alt="results_.png" height="481" src="%ATTACHURL%/results_.png" title="results_.png" width="631" /> -- %USERSIG{UliRaich - 2023-12-18}% ---++ Comments %COMMENT%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
results_.png
r1
manage
24.2 K
2023-12-18 - 17:13
UliRaich
This topic: IoT_Course_English
>
WebHome
>
TinyML
>
TheHelloWorld
>
Hello_worldESP-IDFVersion
Topic revision: r1 - 2023-12-18 - UliRaich
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback