Skip to content

Instantly share code, notes, and snippets.

/*
* Expects a JSON array of teams in the same format as byeTeam
*/
const fs = require('fs');
const util = require('util');
var teamFile = 'teams.json';
const byeTeam = { coach: '', race: '', teamName: 'BYE' };
@0x6e
0x6e / user_main.c
Created June 7, 2015 10:48
ESP8266 Espressif RTC Example
#include "ets_sys.h"
#include "osapi.h"
#include "user_interface.h"
os_timer_t rtc_test_t;
#define RTC_MAGIC 0x55aaaa55
typedef struct {
uint64 timeAcc;
uint32 magic;