NOTE: The MetaWatch and BlueSMiRF (with the RN-41 and RN-42) has been retired from our catalog. Please check out some of these resources to see how other users are still hacking and improving on this version of the product.
SparkFun RedBoard, BlueSMiRF, and MetaWatch |
Use an Arduino/BlueSMiRF combo to control the bluetooth-enabled MetaWatch.
- /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
- /src - Source files for the library (.cpp, .h).
- library.properties - General library properties for the Arduino package manager.
- Installing an Arduino Library Guide - Basic information on how to install an Arduino library.
- Hookup Guide - Basic hookup guide for the MetaWatch.
The code is beerware; if you see me (or any other SparkFun employee) at the local, and you've found our code helpful, please buy us a round!
Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release anything derivative under the same license.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.
This library provides the following functions:
- SFE_MetaWatch constructor
- void begin()
- void echoMode();
- int connect();
- void setTime(unsigned int year, unsigned char month, unsigned char date, unsigned char weekDay, unsigned char hour, unsigned char minute, unsigned char second);
- void vibrate(unsigned int onTime, unsigned int offTime, unsigned char numCycles);
- void update(unsigned char page, unsigned char start=0, unsigned char end=96, unsigned char style=1, unsigned char buffer=1, unsigned char mode=0);
- void clear(unsigned char black);
- void setWidget(unsigned char msgTotal, unsigned char msgIndex, unsigned char * widgIDSet, unsigned char numWidg);
- void fullScreen(unsigned char full);
- void readBattery();
- void reset();
- void setBacklight(unsigned char set);
- void sendPacket(unsigned char * data, int length, unsigned char * response, int responseLength);
Jim Lindblom
SparkFun Electronics
August 13, 2013