This shows you the differences between two versions of the page.
iothings:laboratoare:2022:lab3 [2025/03/13 19:28] andreea.miu Modificare code snippets |
iothings:laboratoare:2022:lab3 [2025/03/13 19:34] (current) andreea.miu [SPIFFS Webserver] add ledPin tip |
||
---|---|---|---|
Line 305: | Line 305: | ||
} | } | ||
</code> | </code> | ||
+ | |||
+ | <note tip> | ||
+ | Change the //ledPin// according to your board version. | ||
+ | |||
+ | For the GREEN boards: Red - GPIO25, Green - GPIO26, Blue - GPIO27 | ||
+ | |||
+ | For the BLUE boards: Red - GPIO14, Green - GPIO13, Blue - GPIO15 | ||
+ | </note> | ||
Line 367: | Line 375: | ||
== Assignment == | == Assignment == | ||
- | <note> Modify the webserver sketch to receive data from the other two sliders in the webpage and control the other two PWM channels (13 - green and 15 - blue).</note> | + | <note> Modify the webserver sketch to receive data from the other two sliders in the webpage and control the other two PWM channels (green and blue).</note> |
=== Live charts === | === Live charts === |