Skip to content

Commit

Permalink
edit neopixel support
Browse files Browse the repository at this point in the history
  • Loading branch information
xukangmin committed May 3, 2020
1 parent b8d3226 commit 10268fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ Controlling NeoPixel String
You need to first install `Adafruit NeoPixel Library`_.

Adafruit NeoPixel only supports up to 19MHz, but TinyCore uses 20MHz by default, so you can change this file in Adafruit NeoPixel Library.
(C:\Users\(username)\Documents\Arduino\libraries\Adafruit_NeoPixel\Adafruit_NeoPixel.cpp)
(C:\\Users\\(username)\\Documents\\Arduino\\libraries\\Adafruit_NeoPixel\\Adafruit_NeoPixel.cpp)

From

.. code-block:: c
// 16 MHz(ish) AVR --------------------------------------------------------
Expand All @@ -67,6 +68,7 @@ To
.. _`Adafruit NeoPixel Library`: https://learn.adafruit.com/adafruit-neopixel-uberguide/arduino-library-installation


Below is some sample code for using Neopixel library.

.. code-block:: c
Expand Down

0 comments on commit 10268fa

Please sign in to comment.