User Tools

Site Tools


raspberrypi:wiringpi:event_count

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
raspberrypi:wiringpi:event_count [2017/01/31 22:42] – aistisraspberrypi:wiringpi:event_count [2017/01/31 22:42] (current) – aistis
Line 8: Line 8:
 #include <wiringPi.h> #include <wiringPi.h>
  
-#define BUTTON_PIN 2 // Use GPIO Pin 17+#define BUTTON_PIN 2 // Use GPIO Pin 
  
 volatile int eventCounter = 0; // the event counter volatile int eventCounter = 0; // the event counter
raspberrypi/wiringpi/event_count.1485895339.txt.gz · Last modified: by aistis