From 1ca28b8181038b44f47d1519cd30423dbfab3fed Mon Sep 17 00:00:00 2001 From: mtreffers Date: Mon, 6 Apr 2020 02:44:22 +0200 Subject: [PATCH] drivers/ws281x: fix documentation extend ws281x documentation with usage for ESP32 and VT100 fix indendation --- drivers/include/ws281x.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/include/ws281x.h b/drivers/include/ws281x.h index 497ef25ce2..f4d210e840 100644 --- a/drivers/include/ws281x.h +++ b/drivers/include/ws281x.h @@ -40,7 +40,7 @@ * ## ESP32 * * The ESP32 implementation is frequency independent, as frequencies above 80MHz - * are high enough to support big banging without assembly. + * are high enough to support bit banging without assembly. * * ## Native/VT100 * @@ -48,12 +48,23 @@ * * ### Usage * - * Add the following to your `Makefile` to use the ATmega backend: + * Add the following to your `Makefile` to use: * + * * the ATmega backend: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile * USEMODULE += ws281x_atmega * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + * * the ESP32 backend: + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile + * USEMODULE += ws281x_esp32 + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * * the native/VT100 backend: + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile + * USEMODULE += ws281x_vt100 + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * * @{ * * @file