15 Ocak 2019 Salı

access gpio and sys class in c++

#include < iostream >
#include < stdio.h >
#include
using namespace std;
#define MAX 64
int flashGPIOLED(int,int);
int readButton(int);
int main()
{
  //readButton(7);
 flashGPIOLED(7,5); 
}

int flashGPIOLED(int GPIOPin,int times)
{
 cout < < "GPIO LED Flash Pin: "< 
Share: