Name: arduino-library
Owner: Jewelbots
Description: This is the arduino library that works with the Jewelbots device
Created: 2016-10-20 15:26:36.0
Updated: 2018-01-04 20:00:50.0
Pushed: 2018-02-19 22:46:15.0
Homepage: null
Size: 1096640
Language: C
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This library is designed to make coding the Jewelbots for Arduino easier for users. Installation instructions are below. If you would like to contribute, pull requests are welcome. Documentation is here and in the Wiki. Please feel free to ask us questions in Slack by signing up here.
Get Arduino IDE from Arduino website and install it to your PC.
Start the IDE and from the Menu, click “Preference…“, add the following line to “Additional Boards Manager URLs”
s://jewelbots.github.io/arduino-library/package_jewelbots_index.json
Open the Boards Manager from the Menu: Tools -> Board “…” -> Boards Manager.
Search for “Jewelbots”, select the “Jewelbots Arduino Library” and click “Install”.
Wait for the library to finish installation and click “Close”.
Go to Tools -> Board “…” dropdown and select the “JWB nRF51822” board.
Make sure the serial port is selected from Tools -> Port.
Put your Jewelbots device in coding mode by holding down the button for two seconds. Either the charging light will go out or the device will flash purple depending on what version of the firmware you have. Coding mode lasts for two minutes.
Test the “hello world” sketch below:
lude "JWB_API.h"
setup() {
put your setup code here, to run once:
eathe_all(1);
loop() {
put your main code here, to run repeatedly:
imation animation;
imation.jewelbots_logo();
button_press() {
put code here to run whenever the Magic Button is pressed:
imation animation;
imation.breathe_single_color(BLUE);
If you would like to contribute to this library, you can get started in the Wiki