If you haven't already, make sure to do the required setup steps first.
You should now have a directory called ProffieOS with the following files in it:
Arduino.mk ir/ README.md
blades/ LICENCE.txt scripts/
buttons/ Makefile sound/
common/ motion/ styles/
Common.mk mtp/ Teensy.mk
config/ pov_tools/ transitions/
display/ Proffieboard.mk videotoblc/
Note that Windows may hide the part after the period, so it may look a little different, but it's still the same files.
If you are upgrading an existing saber, then you may already have a config file, in which case, just use that. If you need to create a new config file, keep reading.
my_saber_config.h. (Please note, that on Windows, the
.h. is normally not shown. If it wasn't before you selected rename, don't add it.)
Congratulations, you now have a config file.
// #define CONFIG_FILE "config/YOUR_CONFIG_FILE_NAME_HERE.h"
#define CONFIG_FILE "config/my_saber_config.h"
Of course, if you used a different filename in the previous step, use that filename instead of
Check out what happens in the window at the bottom of Arduino. You may need to scroll around to see what's going on. You can also make the window bigger, which helps. If you see a 0-100 progress bar and it goes all the way to 100, then the programming worked, regardless of what other errors and warnings you see.
Now your saber is programmed. You can tweak your config file as many times as you like and re-upload as many times as you like.