Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4922

ESP8266 SPI - LCD1602 and the PFC8574 Backpack

$
0
0
https://www.nxp.com/docs/en/data-sheet/PCF8574_PCF8574A.pdf
https://images-na.ssl-images-amazon.com/images/I/51fDBZV-ebL._SY355_.jpg

Hi Everyone,
I don't know how well acquainted you are with the backpack PFC8574 but it seems I connected to the device via SPI.
I then created a FOR LOOP sending predictable data to it.

PSUDO CODE
for (i=0x0; i<FF;i+=2)
{
START SPI
Send LCD ADDRESS
Send Data(i)
STOP SPI
}

Before I ran the code I hooked a bunch of LED's to the Pin...

ESP8266 SPI - LCD1602 and the PFC8574 Backpack

Viewing all articles
Browse latest Browse all 4922

Trending Articles