Skip to content
ScottD edited this page Apr 25, 2017 · 7 revisions

#Welcome to the Jewelbots Friendship Library wiki!

This Library contains the full Jewelbots firmware and enables the user to add custom reactions to friendship color groups. Because of conflicts with existing Jewelbots functionality not everything that is available in Solo Coding mode is available in this Library.

Contributors welcomed! If you'd like to chat with us, you can join us on Slack here.

Getting Started

There are few ways to code locally for the Jewelbots library. (These methods may need a bit of modification to work with the newer Jewelbots Friendship Library.)

OR

Documentation

We are iterating on the Jewelbots API and adding more functionality constantly. Stay tuned for updates.

Notes

Reset Button

When the reset button is pressed, the Jewelbot will reboot into Upload Code mode (you will see the four purple lights flash). That way if there is an error in the Arduino Sketch, the Jewelbot is ready to receive code that is fixed.

Delete Friends List

If you want to clear your current friends off your Jewelbot and start over, use the following function inside the setup() section of your sketch:

// You also have to tell Arduino that you would like to erase your friends
// Run this command in the setup function:

void setup() {
  // put your setup code here, to run once:
  set_delete_friends_list();

} // setup

When the Jewelbot boots up after a sketch with the set_delete_friends_list() function included in setup, it will flash the normal rainbow lights, then the blue and red Jewelbots logo to signify it is deleting friends.

After you have erased your friends, it is advised to upload a new sketch with the set_delete_friends_list() function removed from the sketch so your Jewelbot doesn't erase friends every time it boots up.

Clone this wiki locally