|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
20 int __pinM, __pinSDIO, __pinSCL;
22 void imu_SPIreadBytes(
unsigned char csPin,
unsigned char subAddress,
unsigned char *dest,
unsigned char count)
25 unsigned char rAddress = 0x80 | (subAddress & 0x3F);
29 if ((csPin == __pinM) &&
count > 1) rAddress |= 0x40;
33 for (
int i=0; i<
count; i++)