uFCoder 2.62
|
Functions related to interacting with the basic reader signalization. More...
Functions | |
UFR_STATUS DL_API | GreenLedBlinkingTurnOff (void) |
The function prohibits the blinking of the green diode independently of the user's signaling command. | |
UFR_STATUS DL_API | GreenLedBlinkingTurnOn (void) |
The function allows the blinking of the green diode independently of the user's signaling command (default setting). | |
UFR_STATUS DL_API | ReaderSoundVolume (uint8_t sound_volume) |
Function sets the duty cycle ratio of the sound signal. Value is in percent (0 - 100%). | |
UFR_STATUS DL_API | ReaderUISignal (uint8_t light_signal_mode, uint8_t beep_signal_mode) |
This function turns sound and light reader signals. | |
UFR_STATUS DL_API | SetSpeakerFrequency (uint16_t frequency) |
This function plays constant sound of “frequency” Hertz. | |
UFR_STATUS DL_API | UfrRedLightControl (uint8_t light_status) |
This function turns Red LED only. If “light_status” value is 1, red light will be constantly turned on until receive “light_status “ value 0. | |
Functions related to interacting with the basic reader signalization.
UFR_STATUS DL_API GreenLedBlinkingTurnOff | ( | void | ) |
The function prohibits the blinking of the green diode independently of the user's signaling command.
LED and sound signaling occurs only on the user command. This setting writes into the reader's EEPROM, and it loads when the reader starts up.
UFR_STATUS DL_API GreenLedBlinkingTurnOn | ( | void | ) |
The function allows the blinking of the green diode independently of the user's signaling command (default setting).
This setting writes into the reader's EEPROM, and it loads when the reader starts up.
UFR_STATUS DL_API ReaderSoundVolume | ( | uint8_t | sound_volume | ) |
Function sets the duty cycle ratio of the sound signal. Value is in percent (0 - 100%).
Default value is 50%, and this value will be set after the reset of the reader, without using this function.
sound_volume | volume in percent 0 - 100 % |
UFR_STATUS DL_API ReaderUISignal | ( | uint8_t | light_signal_mode, |
uint8_t | beep_signal_mode ) |
This function turns sound and light reader signals.
Sound signals are performed by the reader's buzzer and light signals are performed by the reader's LEDs. There are predefined signal values for sound and light:
light_signal_mode | 0 - None, 1 - Long Green, 2 - Long Red, 3 - Alternation, 4 - Flash |
beep_signal_mode | 0 - None, 1 - Short, 2 - Long, 3 - Double Short, 4 - Triple Short, 5 - Triplet Melody |
UFR_STATUS DL_API SetSpeakerFrequency | ( | uint16_t | frequency | ) |
This function plays constant sound of “frequency” Hertz.
frequency | frequency in Hz To stop playing sound, send 0 value for “frequency”. |
UFR_STATUS DL_API UfrRedLightControl | ( | uint8_t | light_status | ) |
This function turns Red LED only. If “light_status” value is 1, red light will be constantly turned on until receive “light_status “ value 0.
light_status | value 0 or 1 |