Clock using Adafruit Feather M0
This repository contains source code for a clock running on Adafruit Feather M0 board.
In addition to Adafruit Feather M0, you need:
- Adafruit Feather OLED wing - https://www.adafruit.com/products/2900
- Adafruit DS3231 RTC wing - https://www.adafruit.com/products/3028
- Sparkfun TMP102 temperature sensor - https://www.sparkfun.com/products/11931
- Sparkfun ADXL345 accelerometer - https://www.sparkfun.com/products/9836
The code in this repository is distributed under permissive Open Source ISC license:
Copyright (c) 2016 Tero Koskinen <firstname.lastname@example.org> Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
The code has dependencies to following Rowley Crossworks for ARM libraries:
- Atmel SAM D microcontroller support package
- libdevice (tmp102, adxl345)
- libugfx (ssd130x)
These libraries are proprietary and you need to purchase them from Rowley Associates Ltd.
In addition, you need my samd2x-peripheral-library from https://bitbucket.org/tkoskine/samd2x-peripheral-library
and mcu-devices library from https://bitbucket.org/tkoskine/mcu-devices
When building the project, the directory structure should be:
TOP/ TOP/devices # mcu-devices here TOP/samd2x-peripheral-lib # samd2x-peripheral-library here TOP/feather-m0-clock
The peripheral and mcu-devices libraries are distributed under ISC license.