include stdlib.h

add include stdlib.h, for function random.
This commit is contained in:
Suhayl
2019-07-06 10:41:18 +08:00
parent 2f978e2955
commit cf72fae877
+2 -1
View File
@@ -2,11 +2,12 @@
* Filename : ColorfulLED.c
* Description : A auto flash ColorfulLED
* Author : freenove
* modification: 2016/06/14
* modification: 2019/07/05
**********************************************************************/
#include <wiringPi.h>
#include <softPwm.h>
#include <stdio.h>
#include <stdlib.h>
#define ledPinRed 0
#define ledPinGreen 1