Add a "Getting Started" section to the README
Combining the "Simple Example" snippet with a few lines about how to install the library.
This commit is contained in:
parent
42a60fb109
commit
907f78583b
11
README.md
11
README.md
@ -19,13 +19,12 @@ We have multiple goals with this library:
|
||||
* Zero pain switching LED chipsets - you get some new LEDs that the library supports, just change the definition of LEDs you're using, et. voila! Your code is running with the new LEDs.
|
||||
* High performance - with features like zero cost global brightness scaling, high performance 8-bit math for RGB manipulation, and some of the fastest bit-bang'd SPI support around, FastLED wants to keep as many CPU cycles available for your LED patterns as possible
|
||||
|
||||
## Getting Help
|
||||
## Getting Started
|
||||
|
||||
If you need help with using the library, please consider going to the reddit community first, which is at http://fastled.io/r (or https://reddit.com/r/FastLED). There are thousands of great people in that group and many times you will get a quicker answer to your question there, as you will be likely to run into other people who have had the same issue. If you run into bugs with the library (compilation failures, the library doing the wrong thing), or if you'd like to request that we support a particular platform or LED chipset, then please open an issue at http://fastled.io/issues and we will try to figure out what is going wrong.
|
||||
|
||||
## Simple Example
|
||||
Install the library using either [the .zip file from the latest release](https://github.com/FastLED/FastLED/releases/latest/) or by searching for "FastLED" in the libraries manager of the Arduino IDE. [See the Arduino documentation on how to install libraries for more information.](https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries)
|
||||
|
||||
How quickly can you get up and running with the library? Here's a simple blink program:
|
||||
|
||||
```cpp
|
||||
#include <FastLED.h>
|
||||
#define NUM_LEDS 60
|
||||
@ -37,6 +36,10 @@ void loop() {
|
||||
}
|
||||
```
|
||||
|
||||
## Getting Help
|
||||
|
||||
If you need help with using the library, please consider going to the reddit community first, which is at http://fastled.io/r (or https://reddit.com/r/FastLED). There are thousands of great people in that group and many times you will get a quicker answer to your question there, as you will be likely to run into other people who have had the same issue. If you run into bugs with the library (compilation failures, the library doing the wrong thing), or if you'd like to request that we support a particular platform or LED chipset, then please open an issue at http://fastled.io/issues and we will try to figure out what is going wrong.
|
||||
|
||||
## Supported LED Chipsets
|
||||
|
||||
Here's a list of all the LED chipsets are supported. More details on the LED chipsets are included [on our wiki page](https://github.com/FastLED/FastLED/wiki/Chipset-reference)
|
||||
|
Loading…
Reference in New Issue
Block a user