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: common.h
- Revision:
- 4:aa25f65395e3
- Parent:
- 2:6541a391bdbd
- Child:
- 5:fbd5b1e953e6
--- a/common.h Thu Jan 05 10:39:36 2017 +0000 +++ b/common.h Thu Jan 05 10:47:42 2017 +0000 @@ -14,10 +14,10 @@ const unsigned long long SOUND_SENSOR_ADDRESS = 0xABCDEF03; enum SENSOR_TYPE { - PIR1, - PIR2, - DISTANCE, - SOUND, + PIR1 = 1, + PIR2 = 2, + DISTANCE = 3, + SOUND = 4, }; struct Data {