Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 9:7f07aa6ff49a
- Parent:
- 8:5d2eebdad025
- Child:
- 10:83a6baa77a2e
diff -r 5d2eebdad025 -r 7f07aa6ff49a main.cpp
--- a/main.cpp Fri Aug 23 00:28:47 2019 +0000
+++ b/main.cpp Fri Aug 23 01:00:24 2019 +0000
@@ -105,16 +105,10 @@
*** Program is operating!
*************************************/
while(1) {
-// dac_1=0.5;
-// dac_2=0.1;
- check_2 = 1;
- //spi _ eeprom
-// spi_eeprom_ready();
-// spi_eeprom_write(0x0001,0xFFFFFFFF);
-// spi_eeprom_ready();
-// int a=spi_eeprom_read(0x0001);
+
//spi _ enc
int a = spi_enc_read();
+ //i2c
read_field(i2c_slave_addr1);
check_2=0;