This is the vcdMaker demo project. See http://vcdmaker.org for details. vcdMaker is supposed to help engineers to debug their applications and systems. It transforms text log files into the VCD format which can be easily displayed as a waveform. Use the mbed serial logger at 115200 baud rate.
Dependencies: BSP_DISCO_L476VG COMPASS_DISCO_L476VG mbed vcdLogger vcdSignal
Signals/magnetometer.hpp
- Committer:
- ketjow
- Date:
- 2016-03-05
- Revision:
- 0:936379a8793e
File content as of revision 0:936379a8793e:
/*! @file magnetometer.hpp The header of the magnetometer signal class. @par Full Description The header of the magnetometer signal class. @if REVISION_HISTORY_INCLUDED @par Edit History @li [0] wojciech.rynczuk@wp.pl 04-MAR-2016 Initial file revision. @endif @ingroup Signal The MIT License (MIT) Copyright (c) 2016 Wojciech Rynczuk */ #include "mbed.h" #include "signal.hpp" #include "COMPASS_DISCO_L476VG.h" class Magnetometer : public Signal { public: Magnetometer(const string& name, COMPASS_DISCO_L476VG &compass, Logger& logger); ~Magnetometer(); void PrintState(); private: COMPASS_DISCO_L476VG *m_pCompass; int16_t m_MagXYZ[3]; int16_t m_PrevMagXYZ[3]; };