My little place on the web

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
projects:i2c_pcf8574_8bit_port_expander [2012/10/21 18:24]
elger
projects:i2c_pcf8574_8bit_port_expander [2012/10/21 18:30]
elger
Line 7: Line 7:
  
 ===== The breadboard built ===== ===== The breadboard built =====
 +
 +The four resistors are 100Ω
 +
 +The four LEDs are regular red 3mm leds
 +
 +The four buttons are momentary on push buttons
  
 ==== Fritzing ==== ==== Fritzing ====
Line 18: Line 24:
 ==== Breadboard ==== ==== Breadboard ====
 I took a photo of the breadboard build, nice to see but difficult to see where what goes: I took a photo of the breadboard build, nice to see but difficult to see where what goes:
-{{ :​projects:​i2c_pcf8574_8bit_port_expander:​2012-10-21_11-36-11_88.jpg?​200 |}} +{{ :​projects:​i2c_pcf8574_8bit_port_expander:​2012-10-21_11-36-11_88.jpg?​200| }} 
-{{ :​projects:​i2c_pcf8574_8bit_port_expander:​2012-10-21_15-52-19_558.jpg?​200 |}}+{{ :​projects:​i2c_pcf8574_8bit_port_expander:​2012-10-21_15-52-19_558.jpg?​200| }}
  
 ==== The code ==== ==== The code ====
Line 27: Line 33:
 I wrote code that reads the button input and writes this to the LED output: I wrote code that reads the button input and writes this to the LED output:
  
-<code>+<file c PCF8574.ino>
 // I2C PCF8574 8 bit i/o port expander // I2C PCF8574 8 bit i/o port expander
 // by AEP // by AEP
Line 79: Line 85:
 } }
  
-</code>+</file>