Hidscope
Fork of HIDScope by
Diff: HIDScope.h
- Revision:
- 5:80d551456856
- Parent:
- 2:9c9226db4fb1
- Child:
- 6:188304906687
--- a/HIDScope.h Thu Sep 22 08:00:52 2016 +0000 +++ b/HIDScope.h Thu Oct 06 12:54:02 2016 +0000 @@ -41,7 +41,7 @@ class HIDScope { public: ///Instantiate the HID Scope - HIDScope(int channels); + HIDScope(int channels, bool non_blocking = true); /** Sets the current channel value @param ch : integer channel no (0-6) @@ -76,6 +76,7 @@ */ void send(); private: + bool send_non_blocking; USBHID hid; HID_REPORT scopeData; float* bufferData;