Lab 4

Object.pngscreen-shot-2017-02-07-at-1-59-37-pm

img_5298img_5297img_5295img_5296


<p><a href=”https://vimeo.com/203001854″>Lab 4</a> from <a href=”https://vimeo.com/user22853032″>Markus hudobnik</a> on <a href=”https://vimeo.com”>Vimeo</a&gt;.</p>

Simple coding, I used variables to represent the input pins so is is easier to define later in the code. I used 1 as on, 0 as off (like normal) to code an if-else statement when the button is pressed or not pressed.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s