Arduino Serial analogWrite -


how able read serial input on arduino , write value led?
i.e. if type 042 console, should execute analogwrite(led, 42);

if(serial.available()){     int val = serial.read();     digitalwrite(led, val); } 

Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -