This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wiringPi.h> | |
#include <stdio.h> | |
#define PIN_NUMBER 0 // Номер GPIO порта, который будет использоваться | |
int main() { | |
if (wiringPiSetup() == -1) { | |
fprintf(stderr, "Не удалось инициализировать WiringPi\n"); | |
return 1; | |
} |