
개요

Port Expander는 시리얼 인터페이스를 가진 16-bit I/O 확장툴

본 보드는 SPI인터페이스를 가진 on-board 16-bit I/O expander MCP23S17를 채택

다른 주변기기 모듈에 쉽게 연결하기 위한 IDC10 커넥터
설명
Port Expander 보드는 10Mhz 까지의 SPI 클럭 스피드를 가진 16-bit I/O expander MCP23S17를 장착하였습니다. 세개의 하드웨어 어드레스 핀은 버스상에 여덟개의 장치까지 허용해줍니다.
예제
본 예제는 MCP23S17을 microcontroller 쉽게 연결하는 방법을 보여줍니다. 각각의 예제는 코드에 대한 자세한 주석을 포함하고 있습니다. 예제 코드는 하단에서 다운로드 가능합니다.
- Example of setting Port Expander ports as outputs.
- Example of setting Port Expander ports as inputs.
- Example of reading Port Expander inputs and sending it to LEDs.
- Example of sending data to Port Expanders output.
- Example of reading Port Expander inputs and writing results on an LCD.
- Example of reading Port Expander inputs and writing results on a 7segment display.
- Example of setting Port Expander PORTA as output.
- Example of setting Port Expander PORTB as input.
- Example of reading Port Expander inputs and sending results to RS232.