Bayley Wang
/
priustroller
Prius IPM controller
Fork of analoghalls5_5 by
debug/debug.h
- Committer:
- bwang
- Date:
- 2015-03-09
- Revision:
- 24:f1ff9c7256b5
File content as of revision 24:f1ff9c7256b5:
#ifndef __DEBUG_H #define __DEBUG_H #include "includes.h" #include "context.h" class BufferedDebugger { public: BufferedDebugger(Context *context, int channels, int size); void Write(int channel, float f); void Flush(); void Restart(); private: Context *_context; int _size; int _channels; int *_index; int _done; float *_buffer; }; #endif