- Category:
- SCM
- Tags:
-
[WORD]
- File Size:
- 11kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- gsdfgdfg
Description: # Define READ 0x03// MCP2510 instructions read the code# define WRITE 0x02// MCP2510 write instruction code# define RESET 0xC0// reset the MCP2510 instruction code# define RTS 0x80// MCP2510 request command code# define STA2510 0xA0// read MCP2510 Status instruction code# define BITMOD 0x05// MCP2510-bit instruction code modification int a [12] // SPI send or receive data register int b [8] // send or receive data int c [8] // send or received data int i // temporary variable int count // send and receive counters int count1 = 0 // for test
To Search:
File list (Check if you may need any files):
PIC单片机C语言编程实例五.doc