firmware-base/vendor/sming/Sming/samples/Basic_Blink
2026-01-28 16:42:43 +01:00
..
app vendor 2026-01-28 16:42:43 +01:00
blink.jpg vendor 2026-01-28 16:42:43 +01:00
component.mk vendor 2026-01-28 16:42:43 +01:00
Makefile vendor 2026-01-28 16:42:43 +01:00
README.rst vendor 2026-01-28 16:42:43 +01:00

Basic Blink
===========

Simple blink example to confirm that the basic build system is working with your system.

We use Timer instead of a loop because we want to allow WiFi communications to work in the background.
See :doc:`/information/multitasking`.

The LED on many development boards is connected to GPIO2, so this is the default.

If you get no response then check the documentation or schematic as your system
may differ and change the LED_PIN definition accordingly.

For example, the NodeMCU ESP-C3 kits have an RGB LED connected to GPIO 3, 4 & 5.


.. image:: blink.jpg
   :height: 192px