uFCoder 2.62
Loading...
Searching...
No Matches
Signalization (default)

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.
 

Detailed Description

Functions related to interacting with the basic reader signalization.

Function Documentation

◆ GreenLedBlinkingTurnOff()

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.

Returns
Operation status

◆ GreenLedBlinkingTurnOn()

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.

Returns
Operation status

◆ ReaderSoundVolume()

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.

Parameters
sound_volumevolume in percent 0 - 100 %
Returns
Operation status

◆ ReaderUISignal()

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:

Parameters
light_signal_mode0 - None, 1 - Long Green, 2 - Long Red, 3 - Alternation, 4 - Flash
beep_signal_mode0 - None, 1 - Short, 2 - Long, 3 - Double Short, 4 - Triple Short, 5 - Triplet Melody
Returns
Operation status

◆ SetSpeakerFrequency()

UFR_STATUS DL_API SetSpeakerFrequency ( uint16_t frequency)

This function plays constant sound of “frequency” Hertz.

Parameters
frequencyfrequency in Hz To stop playing sound, send 0 value for “frequency”.
Returns
Operation status

◆ UfrRedLightControl()

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.

Parameters
light_statusvalue 0 or 1
Returns
Operation status