Amicus18 - Port Expansion using SPI - Amicus18 - Amicus Welcome Page
Interface to a 74HC595 serial to parallel shift register ' Include "SPI.inc" ' Load the SPI peripheral macros into the program $define SR74_LAT PORTC.0 ' Connects to the 74HC595 ST_CP(latch) pin. Dim bPattern As Byte ' The byte to output via the shift ......