Welcome to my GitHub! Check out my projects here, and via the links at http://timtheguy.com.
This file contains 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
var orgID = // Your Organization ID; | |
getOrganization(orgID, 1).then((initialOrg) => { | |
getOrganization(orgID, initialOrg.totalItems).then((fullOrg) => { | |
let promises = []; | |
fullOrg.items.forEach((item) => { | |
let memberID = item.account.id; | |
let p = getMember(memberID); | |
promises.push(p); | |
}); |
This file contains 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 <ESP8266HTTPClient.h> | |
#include <ESP8266WiFi.h> | |
#include <ArduinoJson.h> | |
#include <Adafruit_MPL3115A2.h> | |
Adafruit_MPL3115A2 baro = Adafruit_MPL3115A2(); | |
const int pinAdc = A0; | |
void setup() { | |
Serial.begin(115200); //Serial connection |
This file contains 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 <hidef.h> /* common defines and macros */ | |
#include "derivative.h" /* derivative-specific definitions */ | |
#include "delay.h" | |
//function prototypes | |
void update_seven_segment(void); | |
void setClk(void); | |
//initialize variables as unsigned chars (or unsigned bytes) | |
unsigned char mill = 0; |