AVR RRD works
LPC1768 VIKI2 & RRDFG are working looks like all SPIs are working library change sh1106 locks up fixed lockup, started I2C SW com pretty re-org restore a few files make library happy switched HAL version of rrd fix travis error travis error fixes another travis fix cleanup minor update one more correct spacing in platformio.ini
This commit is contained in:
1 parent
a34b5a2bfa
commit
0483a7df91
25 files changed
+2711
-369
No files matched your search
@@ -104,14 +104,14 @@
|
||||
else if (SPI_speed == 1) { // medium - about 1 MHz
|
||||
for (int bits = 0; bits < 8; bits++) {
|
||||
if (b & 0x80) {
|
||||
for (uint8_t i = 0; i < 8; i++) WRITE(MOSI_PIN, HIGH);
|
||||
for (uint8_t i = 0; i < 9; i++) WRITE(MOSI_PIN, HIGH);
|
||||
}
|
||||
else {
|
||||
for (uint8_t i = 0; i < 8; i++) WRITE(MOSI_PIN, LOW);
|
||||
for (uint8_t i = 0; i < 9; i++) WRITE(MOSI_PIN, LOW);
|
||||
}
|
||||
b <<= 1;
|
||||
|
||||
for (uint8_t i = 0; i < 6; i++) WRITE(SCK_PIN, HIGH);
|
||||
for (uint8_t i = 0; i < 7; i++) WRITE(SCK_PIN, HIGH);
|
||||
|
||||
if (READ(MISO_PIN)) {
|
||||
b |= 1;
|
||||
|
||||
Reference in new issue
Block a user