8 years, 7 months ago.

What is "reset" in the mDot_DS18B20 example program

https://developer.mbed.org/teams/Thing-Innovations/code/mDot_DS18B20/
Code snippet from main.cpp:

// A2 - input to reset LoRaWAN config. Pin 15 om mDot.
#define CONFIG_RESET PC_1

// Config Reset intput
DigitalIn configReset(CONFIG_RESET);


However,
http://www.multitech.com/manuals/s000612_1_6.pdf
shows Pin 15 as Associate / AD5 / DIO5 (PC1)
and Pin 5 as a reset.

I'd like to understand how Pin 15 on the mDot is being used as a "reset"

1 Answer

8 years, 7 months ago.

The comment might be wrong, here's the list of pin names used by mbed on the mdot... https://developer.mbed.org/teams/MultiTech/wiki/mDot-Pin-Names. PC_1 is mapped to AD5...

I suppose the comment could be wrong (and immaterial) but the code also defines "CONFIG_RESET" as PC_1

posted by Mike G 08 Apr 2016