Library for Modtronix NZ32 STM32 boards, like the NZ32-SC151, NZ32-SB072, NZ32-SE411 and others
Diff: nz32s.cpp
- Revision:
- 10:213d6350f0a8
- Parent:
- 5:e1297df8ee0d
- Child:
- 13:328bfac0e686
--- a/nz32s.cpp Mon Sep 14 15:16:41 2015 +1000 +++ b/nz32s.cpp Mon Sep 14 15:20:50 2015 +1000 @@ -49,6 +49,13 @@ // Function Prototypes //////////////////////////////////////////////////////// +/** Constructor + */ +NZ32S::NZ32S() { + led1 = 0; //User LED off +} + + /** Get the battery voltage. */ uint16_t NZ32S::get_batt_mv() {