-
Notifications
You must be signed in to change notification settings - Fork 43
Quick Start FXSOS
Getting started with FX-SaberOS is easy, that was our leading principle from the beginning!!! Prior to upload code to your Arduino compatible board (DIYino, home brew, etc.) there are a few simple steps to tailor the FX-SaberOS code to fit to your saber prop.
Goto the tab Config_HW.h.
- First you need to specify which kind of board you are using. Currently the DIYino Prime V1, the Stardust V2 and the Stardust V3 are supported. Select Prime if using a home-brew board.
#define DIYINO_PRIME
or
#define DIYINO_STARDUST_V2
or
#define DIYINO_STARDUST_V3
Comment out with //
the option you do not need.
-
Define how many buttons you have. Currently two setups are supported, a single button setup with
#define SINGLEBUTTON
or a setup using two buttons (aka 2-buttons) by commenting out the line like this//#define SINGLEBUTTON
-
Next step is to specify what kind of blade you are using in your saber prop:
#define LEDSTRINGS
or#define STAR_LED
or#define PIXELBLADE
(comment out those options not needed, leave only one!) -
In case you are using neopixel blade, define the number of pixels in your blade:
#define NUMPIXELS 60
That's all folks! If you want to see how to tweak more advanced features, read on!