Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updates for SNESDev

  • Loading branch information...
commit 3958948988961178f3c27194bcf813a5a376d411 1 parent b67fb3a
petrockblog authored
View
BIN  bin/SNESDev
Binary file not shown
View
BIN  obj/SNESpad.o
Binary file not shown
View
BIN  obj/main.o
Binary file not shown
View
0  scripts/SNESDev 100644 → 100755
File mode changed
View
2  supplementary/testButton/Makefile
@@ -1,6 +1,6 @@
CC=gcc
CFLAGS=-c -Wall -O3
-LIBS=-lbcm2835 -lrt
+LIBS=-lbcm2835 -lrt
INCLUDES=-Iinclude
EXECUTABLE=testButton
View
3  supplementary/testButton/main.c
@@ -1,11 +1,10 @@
-#include <bcm2835.h>
#include <stdio.h>
+#include <bcm2835.h>
#include "cpuinfo.h"
// Button on RPi pin GPIO 11
#define PIN RPI_GPIO_P1_11
#define PIN_V2 RPI_V2_GPIO_P1_11
-
int main(int argc, char **argv)
{
int usepin;
View
BIN  supplementary/testButton/testButton
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.