树莓派-LED亮灯实验
# 结果展示 # 接线图 # 代码 # C #include <wiringPi.h>#include <softPwm.h>#include <stdio.h>#define uchar unsigned char#define LedPinRed 0#define LedPinGreen 1#define LedPinBlue 3void ledInit(void){ softPwmCreate(LedPinRed, 0, 100); softPwmCreate(LedPinGreen, 0,...
more...