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 FRDM-TFC by
Diff: TFC.h
- Revision:
- 3:23cce037011f
- Parent:
- 1:6f37253dab87
--- a/TFC.h Wed Jul 17 19:31:32 2013 +0000 +++ b/TFC.h Thu Aug 15 23:26:19 2013 +0000 @@ -218,18 +218,32 @@ float TFC_ReadBatteryVoltage(); + +/** Sets the Battery level indiciate +* +* @param BattLevel A number betwween 0 and 4. This will light the bar from left to right with the specifified number of segments. +* +*/ +void TFC_SetBatteryLED_Level(uint8_t BattLevel); + + /** Pointer to two channels of line scan camera data. Each channel is 128 points of uint8_t's. Note that the underlying implementation is ping-pong buffer These pointers will point to the *inactive buffer. * */ -extern volatile uint16_t * TFC_LineScanCameraData[2]; +extern volatile uint16_t * TFC_LineScanImage0; +extern volatile uint16_t * TFC_LineScanImage1; + /** This flag will increment when a new frame is ready. Check for a non zero value (and reset to zero!) when you want to read the camera(s) * */ -extern volatile uint8_t TFC_LineScanCameraDataReady; +extern volatile uint8_t TFC_LineScanImageReady; + + + /** @} */