Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (42 codes)
  2. Alcides Ramos (30 codes)
  3. Dany (24 codes)
  4. NART SCHINACKOW (22 codes)
  5. Rajendra Bhatt (6 codes)
  6. Roman Black (6 codes)
  7. Alberto Trasimeni (6 codes)
  8. Andrew Hazelden (6 codes)
  9. Russell Kelly (5 codes)
  10. Peter Erasmus (5 codes)
Libstock prefers package manager

Package Manager

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]

< Back
Example

Expand click - Example

Rating:

Author: MikroElektronika Team

Last Updated: 2012-04-24

Category: Communication

Downloaded: 298 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.

No Abuse Reported

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".

  • Information
  • Comments (0)

Example Blog

Expand click

Expand click

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 image

MCP23S17 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

EXPAND click board schematics

EXPAND click board schematics

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

ALSO FROM THIS AUTHOR

Interrupts on PIC32MX460F512L

This example demonstrates how to setup:
- External INT2 interrupt on PORTE.9 pin
- UART RX event interrupt

[Learn More]

RS485 3.3V click - Example

Simple example which demonstrates working with RS485 SN65HVD12 module.
Master initiates communication with slave. The slave accepts data, increments it and sends it back to the master.
Communication with the board is done using simple UART interface.

[Learn More]

Interrupts on PIC 18F45K22

This example demonstrates how to setup:
- External INT0 interrupt on PORTB.0 pin
- UART RX event interrupt
- Interrupt on change on PORTB.7 - PORTB.4

[Learn More]