Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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: 155
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top