![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
2011
Diff: SPI_EEP_ENC/SPI_EEP_ENC.cpp
- Revision:
- 226:82a3ca333004
- Parent:
- 170:42c938a40313
--- a/SPI_EEP_ENC/SPI_EEP_ENC.cpp Thu Feb 04 05:43:47 2021 +0000 +++ b/SPI_EEP_ENC/SPI_EEP_ENC.cpp Wed Mar 03 10:56:25 2021 +0000 @@ -68,7 +68,7 @@ enc_cs = 1; // write MDR1 -> 0b10 -> 2-byte counter mode - for(i=0;i<100;i++); + for(i=0;i<10000;i++); enc_cs = 0; temp = enc.write(0b10010000); // WR + MDR1 //temp = enc.write(0b00000010); // 2 byte mode