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.
Fork of skinGames_forktest by
Diff: hardwareIO/lockin.h
- Revision:
- 1:a4050fee11f7
- Parent:
- 0:345b3bc7a0ea
- Child:
- 10:6f8e48dca1bd
--- a/hardwareIO/lockin.h Wed Mar 28 14:40:01 2012 +0000
+++ b/hardwareIO/lockin.h Sat Mar 31 08:19:31 2012 +0000
@@ -49,7 +49,8 @@
//void catchInterupt(uint32_t value);
//variables
- float buffer[BUFFER_SIZE];
+ float buffer[BUFFER_SIZE]; // does not need to be a float - in fact values are from 0 to 4096 (i.e.,
+ //unsigned short int buffer[BUFFER_SIZE]; // this is two bytes (0 to 65535)
int buffer_pos;
float refFrequency; // frequency of sensing laser and lock-in (in KHz)
