Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6536

Français • Re: gpio c++

$
0
0
donc je veux faire cela pour tester :
il me manque #include et la je bloque merci

Code:

// gpio mode BCMconst int relaisComp = 19;void setup(void){pinMode(relaisComp, OUTPUT);}void relais(){digitalWrite(relaisComp, LOW);}void loop(void){relais();}int main(){setup();while(1){loop();}return 0;}

Statistics: Posted by ludoraspberry — Wed Jan 31, 2024 5:47 pm



Viewing all articles
Browse latest Browse all 6536

Trending Articles