The GPIO drivers can be accessed by input/output control calls to ioctl(). The following C program will generate a 100 Hz square-wave on GPIO PB2 (J24 pin 2 ...
確定! 回上一頁