So you got a Layerone Demoscene Board? Here's how to get started!
There are two ways to power the Layerone Demoscene Board, USB or external power.
- USB microAB - 5V
- External power input range: 4.75v to 15.0v
Here you have two options, you can either download MPLABX the newer IDE or MPLAB IDE v8.92 the older IDE. You can write your code in either ASM or C.
MPLAB Download Site: http://www.microchip.com/pagehandler/en-us/family/mplabx/
MPLAB IDE v8.92:
L1 Demoscene Board GitHub Repository: https://github.com/arkorobotics/L1DemosceneBoard
L1 Demoscene Board - MPLABX Example ASM Code: https://github.com/arkorobotics/L1DemosceneBoard/tree/master/L1Demo-asm-Leo_audio
L1 Demoscene Board - MPLAB IDE v8.92 Example ASM Code: https://github.com/arkorobotics/L1DemosceneBoard/tree/master/L1Demo-asm-Leo_v8_audio
L1 Demoscene Board - Example C Code:
Once you've compiled your code, you can upload the “.hex” file using the L1 Demoscene Board Loader/Upgrader GUI.
Download Drivers (Windows):
Zip (Manual Installation): http://l1demo.org/driver/L1DemoBoardDrivers.zip
Advanced GUI (Windows/Mac):
Simple GUI (Windows/Mac):
REQUIRED FOR MAC AND LINUX: You will need to download and install “Mono 4.2.0” https://download.mono-project.com/archive/4.2.0/macos-10-x86/MonoFramework-MDK-4.2.0.macos10.xamarin.x86.pkg to run the app.
Note: Newer versions of mono may not work.
NOTE: When you power up the board without a jumper, you have 5 seconds to upload your new hex file! After 5 seconds, the bootloader loads the app inside flash. If you connect the jumper and boot it, the bootloader will be invoked and will wait for a new program to be uploaded until the jumper is removed.
After uploading the “Leo Rectangles” demo you should see: https://www.youtube.com/watch?v=Rywn1wDwSdI
Here is a flowchart diagram of the bootloader: