Skip to content

Instantly share code, notes, and snippets.

@nicfv
nicfv / BMES_MakeAThon.ino
Last active January 20, 2019 16:56
BMES Make-A-Thon Jan 2019
#define ARD true // Set to true if Arduino, false if Trinket.
#define ANG 180 // Defines the angle of rotation for the servo motor.
#if ARD // Arduino Globals:
const int motorPin = 10;
const int LEDPin = 4;
const int soundPin = 9;
const int buttonPin = 2;
@nicfv
nicfv / Weather_Display.ino
Created June 5, 2018 22:05
Final Project for Maker Revolution FRS 002 UC Davis
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <ArduinoJson.h>
// pin identification numbers
const int datapin1 = 4;
const int loadpin1 = 5;
const int clockpin1 = 14;
const int datapin2 = 12;
const int loadpin2 = 13;