Skip to content

Instantly share code, notes, and snippets.

View mrvanbakel's full-sized avatar

Mr. van Bakel mrvanbakel

View GitHub Profile
@mrvanbakel
mrvanbakel / nokia-lcd-animation.ino
Created August 12, 2016 14:27
Particle Photon - Nokia 5110 LCD bitmap animation
//AIM logo animation by MrvanBakel
// include the libary to communicate with the LCD
#include "nokia-5110-lcd/nokia-5110-lcd.h"
//bitmap movie frames, frame 1 is the default logo
char AIM1[504] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@mrvanbakel
mrvanbakel / like-button.ino
Last active July 28, 2016 20:07
Particle Photon - Like button + IFTTT tweets every so many likes.
int pushes = 0;
int frequency = 10;
int button = LOW;
int buttonPin = D0;
int ledPin = D7;
void setup() {
pinMode(buttonPin,INPUT);
pinMode(ledPin,OUTPUT);
}