Skip to content

Instantly share code, notes, and snippets.

@ollewelin
Created September 14, 2016 04:36
Show Gist options
  • Save ollewelin/9f948c054b0c5fe4ef6f77561274a111 to your computer and use it in GitHub Desktop.
Save ollewelin/9f948c054b0c5fe4ef6f77561274a111 to your computer and use it in GitHub Desktop.
//gpio_test.h
#include <bcm2835.h>
#define PIN RPI_GPIO_P1_11
#include <stdio.h>
#define PIN12 RPI_GPIO_P1_12
int gpio_init(void);
void gpio_close(void);
void gpio_blink(void);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment