Skip to content

Instantly share code, notes, and snippets.

// Riffle example by pdhixenbaugh
// on the Riffle, pin 9 is connected to an on-board LED.
const int built_in = 9; //Built-in LED
const int hdr_pwr_enable = 8; //enable "3V3" pin for header power
// the setup function runs once when you press reset or power the board
void setup() {
//initialize the built-in LED
@pdhixenbaugh
pdhixenbaugh / blink_external.ino
Last active October 20, 2016 21:36
Example solution for the Public Lab activity: "Blink a LED - Write a 'Sketch' and build a breadboard circuit for the Riffle" at https://publiclab.org/n/13632
// Encrypts text with caesar's cypher
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <cs50.h>
#include <ctype.h>
#include <math.h>
// prototypes