19.01.2015 Views

Digital Input and Output - Courses

Digital Input and Output - Courses

Digital Input and Output - Courses

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Thursday Week 2: <strong>Digital</strong> <strong>Input</strong> <strong>and</strong> <strong>Output</strong><br />

Theory <strong>and</strong> Practice of Tangible User Interfaces<br />

analogWrite(pin, value)<br />

The duty cycle: between 0 <strong>and</strong> 255<br />

analogWrite(11, 191)<br />

75% brightness<br />

analogWrite(11, 127)<br />

50% brightness<br />

analogWrite(11, 64)<br />

25% brightness<br />

12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!