| ??? 12/14/01 17:02 Read: times |
#17646 - RE: SPI bus implementation help please |
Concerning this line of code:
MOSI = d & 0x80; When loading a bit variable from a byte does the MSB of the byte go into the bit variable? I thought the LSB will go into the bit variable. So this line of code: if( ( d & 0x80) != 0 ) ) MOSI = 1; else MOSI = 0; If I am wrong about loading bit variables, sorry. This might work also but would be confusing: MOSI = d && 0x80; |
| Topic | Author | Date |
| SPI bus implementation help please | 01/01/70 00:00 | |
| RE: SPI bus implementation help please | 01/01/70 00:00 | |
| RE: SPI bus implementation help please | 01/01/70 00:00 | |
| RE: SPI bus implementation help please | 01/01/70 00:00 | |
| RE: SPI bus implementation help please | 01/01/70 00:00 | |
| RE: SPI bus implementation help please | 01/01/70 00:00 | |
RE: SPI bus implementation help please | 01/01/70 00:00 |



