-
1Build instructions
The project build is now automated by using either **Arduino-Makefile** or **platformio** (your choice), you can still use **Arduino IDE** as well.
The default build is for Arduino Mega2560, but this can be ported to other boards.
**'PLEASE NOTE:'** This repo contains submodules, so for the first time cloning the repo you can do it like this: **'git clone --recursive https://github.com/lcapossio/fresca.git'**, or if you already cloned
you have to initialize the submodules: **'git submodule update --init --recursive'**. Also each time you pull, you have to pull recursively, in case there is an update for the submodules: **'git pull --recurse-submodules'**Using **Arduino IDE**:
* Add all the libraries under **'arduino/lib'**
* The main sketch is **'arduino/src/fresca.ino'**
* Compile and upload the sketchUsing **Arduino-Makefile**:
* **'cd'** to the **'arduino/src'** folder
* run **'make ARDUINO_DIR=your/arduino/install/path'**Using **platformio**:
* **'cd'** to the **'arduino'** folder
* run **'platformio run'**### Configuration/Pinout
The configuration/pinout for the code can be modified easily in **'arduino/lib/fresca/fresca_pinout.h'**. Look at the commented description of each line to know what they are used for.Keypad is connected to an analog pin.
Each sensor is connected to a single digital I/O.
7-Segment displays CLK pins are connected to a single arduino digital pin.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.