Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Encoder Motor_PID_set_parameters
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;
