Coming from Arduino, I would write the following: bool x; //code //make PD2 equal to x digitalWrite(2, x);. How is this done using the PORTB ...
確定! 回上一頁