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.
Revision 0:261d8456bda9, committed 2018-06-11
- Comitter:
- zelmic
- Date:
- Mon Jun 11 06:50:52 2018 +0000
- Commit message:
- ver 1.0
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Jun 11 06:50:52 2018 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +#include "max6675.h" + +SPI spi(PA_7, PA_6, PA_5); // MOSI, MISO, SCLK +max6675 max(spi,PA_8); + +int main() { + float temp; + while (1) { + + temp = max.read_temp(); + printf("\n\r Температура: %f",temp ); + + wait(.25); + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/max6675.lib Mon Jun 11 06:50:52 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/zelmic/code/max6675/#f0cdf38c7cfc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Jun 11 06:50:52 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/5aab5a7997ee \ No newline at end of file