Pic16f690 - MCP23x17-LCD circuit

Status
Not open for further replies.

moe_3_moe

New Member
Hello, i built a temperature sensor circuit that inputs an analog temperature to pic16f690 and turn it to digital, than outputs to the pc using USART communication. Now i would like to add a port expander and send this value using SPI communication protocol to a port expander which is the MC23S17 and display it on an LCD. I am confused on how to define the clock and the SDI and SDO on the pic side, i know that i should connect them straight to the port expander.
 

Attachments

  • temp_sensor.c
    1.2 KB · Views: 156
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…