-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.cpp
42 lines (29 loc) · 1.1 KB
/
example.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//recommendet usage: //you should be on an raspberry pi running the latest version of raspbian
//you should directly connect your raspberry pi to a "Sense Hat"
//connect to your network and make sure you have internet access
//install g++ "sudo apt-get install build-essential"
//run command "gpio -v" to check if wiringPi is pre-installed
//if not -->
//install wiringpi: see "http://wiringpi.com/download-and-install/"
//put all files of this repository into one directory and compile it
//Compiling:
//g++ example.cpp -o example -std=c++11 -Wno-psabi -Weffc++ -Wall -pedantic -pthread -lwiringPi -Os
//if compiling goes well you should see an executeable file named example, use command "ls -l" to see
//whats in your directory
//run it by typing command ./example
//#include "rom_prime.h"
//#include "rom_fft.h"
//#include "rom_ncurses.h"
#include "rom_wiringpin.h"
//#include "rom_matrix.h"
//#include "rom_wiringnano.h"
int main(int argc, char *argv[]) {
//rom::prime_t();
//rom::ncurses_t(argc,argv);
//rom_fft_t();
//rom_wiringpin_t();
rom_matrix_t();
//rom_spacetime_t();
//rom::wiringnano_t();
return 0;
}