We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MikroElektronika Team
Last Updated: 2012-09-11
Category: Communication
Downloaded: 1270 times
Not followed.
Example for EXPAND click board in mikroBUS form factor. This is code writes data to expander's PortB and reads it from expander's PortA. Result is shown on PortB LEDs on development board.
Do you want to subscribe in order to receive notifications regarding "Expand click - Example" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Expand click - Example" changes.
Do you want to report abuse regarding "Expand click - Example".
Front and back view of EXPAND click board designed in mikroBUS form factor. mikroBUS is specially designed pinout standard with SPI, I2C, Analog, UART, Interrupt, PWM, Reset and Power supply pins.
View full imageMCP23S17 is a 16-bit I/O expander with SPI clock speeds up to 10 MHz for higher throughput applications. Three HARDWARE ADDRESS SEL jumpers allow you to configure board address and
connect up to eight devices on the bus. Controller also supports interrupt-on-change feature.
PIC examples are written for:
- EasyPIC v7 - PIC18F45K22
- EasyPIC PRO v7 - PIC18F87K22
- EasyPIC v7 for dsPIC30 - dsPIC30F4013
- EasyMx PRO v7 for Stellaris(R) - LM3S9B95, LM4F232H5QD
- EasyMX PRO v7 for ST - STM32F107VC
Board is set to use 3.3V power supply by default. Solder PWR SEL SMD jumper to 5V position if used with 5V systems.
View full image