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.
Dependencies: mbed FastIO FastPWM USBDevice
Diff: USBJoystick/USBJoystick.h
- Revision:
- 87:8d35c74403af
- Parent:
- 86:e30a1f60f783
- Child:
- 90:aa4e571da8e8
--- a/USBJoystick/USBJoystick.h Fri Apr 21 18:50:37 2017 +0000 +++ b/USBJoystick/USBJoystick.h Tue May 09 05:48:37 2017 +0000 @@ -176,6 +176,18 @@ */ bool sendPlungerStatus2( int nativeScale, int jitterLo, int jitterHi, int rawPos, int axcTime); + + /** + * Send a barcode plunger status report header. + * + * @param nbits number of bits in bar code + * @param codetype bar code type (1=Gray code/Manchester bit coding) + * @param pixofs pixel offset of first bit + * @param raw raw bar code bits + * @param mask mask of successfully read bar code bits + */ + bool sendPlungerStatusBarcode( + int nbits, int codetype, int startOfs, int pixPerBit, int raw, int mask); /** * Write an exposure report. We'll fill out a report with as many pixels as