Tuesday, November 18, 2008

PIC SPI Bus Example

Here is some example C code for connecting to a LSI/CSI LS7366 32-bit counter from a PIC 18f4550 using the C18 compiler.

LS7366.h
LS7366.c

Unfortunately, Blogger does not seem to like bit-fields.

No comments: