This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int pin_a = 10; | |
const int pin_b = 12; | |
const int pin_c = 9; | |
const int pin_d = 4; | |
const int pin_e = 5; | |
const int pin_f = 8; | |
const int pin_g = 11; | |
const int pin_dp = 13; | |
const int dig1 = 2; | |
const int dig2 = 3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CurieBLE.h> | |
const int ledPin = 13; // set ledPin to use on-board LED | |
BLEPeripheral blePeripheral; // create peripheral instance | |
BLEService alcoholService("29B10000-E8F2-537E-4F6C-D104768A1214"); // create service | |
BLEShortCharacteristic alcoholChar("29B10001-E8F2-537E-4F6C-D104768A1214", BLERead | BLEWrite | BLENotify); | |
const int termLedPin = 13; | |
const int alcoholSensorPin = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CurieBLE.h> | |
const int ledPin = 13; // set ledPin to use on-board LED | |
BLEPeripheral blePeripheral; // create peripheral instance | |
BLEService alcoholService("29B10000-E8F2-537E-4F6C-D104768A1214"); // create service | |
BLEShortCharacteristic alcoholChar("29B10001-E8F2-537E-4F6C-D104768A1214", BLERead | BLEWrite | BLENotify); | |
const int termLedPin = 13; | |
const int alcoholSensorPin = 0; |
OlderNewer