
Photoresistor
[vc_row][vc_column width=”1/1″][vc_column_text] This demo will tell you to how to use photoresistor to control LED, if the environment is too dark, the LED will turn on. [/vc_column_text][vc_tour][vc_tab title=”Hardware list” tab_id=”1450923552-1-12″][vc_column_text] 96board Liner Base Mezzanine Card Photoresistor module of Linker Kit LED module of Linker kit 4-pin cable x 2 [/vc_column_text][/vc_tab][vc_tab title=”Steps” tab_id=”1450923552-2-98″][vc_column_text] Connect Connect the photoresistor module to ADC1 port on Linker Base Mezzanine Card using 4-pin cable. This let SIG interface of photoresistor module connect to A0 port. Then, connect LED module to D2 port. [/vc_column_text][/vc_tab][vc_tab title=”Program” tab_id=”1450923566047-2-7″][vc_column_text]#include <stdio.h> […]