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
| /* | |
| Program Description: This program reads a light detecting resistor thru an internal ADC and stores the value, | |
| after scaling it, to eeprom. This ADC value is sent to a PWM channel with attached led. This is essentially a data logger | |
| for light and replay by LED. If, if you aim the LDR at a flickering candle during its recording phase, you have a flickering | |
| led candle. | |
| A circuit description and other details can be found at http://petemills.blogspot.com | |
| Filename: ATTiny_Candle_v1.0.c | |
| Author: Pete Mills |
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
| /* | |
| Based on https://github.com/maltesemanTS1/Charlieplexing-the-Arduino | |
| http://arduino.cc/en/Tutorial/BitMask | |
| */ | |
| int16_t shifter = 0; | |
| uint8_t shifter_factor = 4; // also speed influence | |
| bool toggle = true; | |
| const uint8_t max_leds = 20; |
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
| /* | |
| Based on https://github.com/maltesemanTS1/Charlieplexing-the-Arduino | |
| http://arduino.cc/en/Tutorial/BitMask | |
| */ | |
| int16_t shifter = 0; | |
| uint8_t shifter_factor = 8; // also speed influence | |
| bool toggle = true; | |
| const uint8_t max_leds = 20; |
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
| /* | |
| Based on https://github.com/maltesemanTS1/Charlieplexing-the-Arduino | |
| http://arduino.cc/en/Tutorial/BitMask | |
| */ | |
| int16_t shifter = 0; | |
| uint8_t shifter_factor = 8; // also speed influence | |
| bool toggle = true; | |
| const uint8_t max_leds = 20; |
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 <ESP8266WiFi.h> | |
| #include <WiFiClientSecure.h> | |
| #include <ArduinoJson.h> | |
| /* | |
| SHA1 fingerprints found in certificate | |
| */ | |
| // tindie | |
| String url = "/api/v1/order/?limit=1&shipped=false&format=json&username=davedarko&api_key=YOURAPIKEY"; | |
| const char* host = "www.tindie.com"; |
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 <Wire.h> | |
| #include <Time.h> | |
| #include <TimeLib.h> | |
| #include <DS3232RTC.h> | |
| #include <Adafruit_NeoPixel.h> | |
| #ifdef __AVR__ | |
| #include <avr/power.h> | |
| #endif |
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 <ESP8266WiFi.h> | |
| WiFiClient client; | |
| const char* ssid = "pwned"; | |
| const char* password = "deauther"; | |
| const char* host = "192.168.4.1"; | |
| void setup() | |
| { | |
| Serial.begin(115200); |
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
| /* | |
| Based on https://github.com/maltesemanTS1/Charlieplexing-the-Arduino | |
| http://arduino.cc/en/Tutorial/BitMask | |
| */ | |
| const int LED_A = 21; //LED row 1 | |
| const int LED_B = 20; //LED row 2 | |
| const int LED_C = 19; //LED row 3 | |
| const int LED_D = 18; //LED row 1 | |
| const int LED_E = 17; //LED row 2 |
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
| int pin_A = 5; | |
| int pin_B = 6; | |
| int pin_C = 7; | |
| int pin_D = 8; | |
| int pin_E = 9; | |
| int pin_F = 10; | |
| int pin_G = 11; | |
| int pin_H = 12; | |
| int pin_I = 13; |
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
| // ==UserScript== | |
| // @name hadBeautifier | |
| // @namespace http://hackaday.io/hacker/3459 | |
| // @version 0.1 | |
| // @description This changes the appearance of all pages | |
| // @match *://hackaday.io | |
| // @match *://hackaday.io/* | |
| // @copyright 2014+, DaveDarko | |
| // ==/UserScript== |