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
// 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 |
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
// 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 |
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
// 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 |