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:
- 11:4c3876be77b1
- Parent:
- 7:e51d0fbb1a25
- Child:
- 27:27cffdb2e9d3
--- a/main.cpp Thu Jan 05 13:56:25 2017 +0000
+++ b/main.cpp Thu Jan 05 14:11:31 2017 +0000
@@ -2,10 +2,11 @@
#include "sensor_main.h"
#include "common.h"
-#define MODE MASTER
#define MASTER 0
#define SLAVE1 1
+
+// ATTENTION: choose mode in flag!
int main() {
switch(MODE) {
case MASTER: