---
title: "keypadCUE-55"
canonical: "https://docs.cuesystem.com/space/CVCHELP/524353925/keypadCUE-55"
format: markdown
---
> Macro (toc)

---

# Properties

- **Address** of the device, from 2 to 30, defaults to 2.

# SetBackLightBrightness

The function sets a new brightness of the label backlight. 

#### Syntax 

```visualbasic
Function SetBackLightBrightness(newbrightness As Double)
```

#### Parameters 

newbrightness 

<u>[Double](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Double)</u> It is the new backlight brightness. The value is from 0.0 to 100.0. 

# SetLEDBrightness

The function sets a new brightness for all button LEDs. 

#### Syntax 

```visualbasic
Function SetLEDBrightness(newbrightness As Double)
```

#### Parameters 

newbrightness 

<u>[Double](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Double)</u> It is the new brightness. The value is from 0.0 to 100.0. 

# IsPressed

This function returns true if the input is pressed and false otherwise. 

#### Syntax 

```visualbasic
Function IsPressed() As Boolean
```

#### Return value 

<u>[Boolean](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean)</u> It is true if the input is pressed, false otherwise. 

# LEDBlink400msec

This function starts blinking of button LED indicator on a control panel. The blink period is 0.4 sec. 

#### Syntax 

```visualbasic
Function LEDBlink400msec()
```

# LEDBlink800msec

This function starts blinking of button LED indicator on a control panel. The blink period is 0.8 sec. 

#### Syntax* *

```visualbasic
Function LEDBlink800msec()
```

# LEDBlink1600msec

This function starts blinking of button LED indicator on a control panel. The blink period is 1.6 sec. 

#### Syntax 

```visualbasic
Function LEDBlink1600msec()
```

# LEDGroup

This function adds a button to a mutually exclusive group. That means only one indicator is active in the whole group. 

#### Syntax 

```visualbasic
Function LEDGroup(buttongroup As Byte)
```

#### Parameters 

buttongroup 

<u>[Byte](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Byte)</u> It is the number of the group. 

# LEDOff

The function lights off a LED. 

#### Syntax* *

```visualbasic
Function LEDOff()
```

# LEDOn

The function lights on a LED. 

#### Syntax 

```visualbasic
Function LEDOn()
```

# LEDUngroup

This command removes the button from all groups. 

#### Syntax 

```visualbasic
Function LEDUngroup()
```

# OnPush

This event is generated when a button is pushed. 

#### Syntax 

```visualbasic
Event OnPush As Process()
```

# WaitWhilePressed

This function waits while input is pressed and the specified time has not expired. 

#### Syntax 

```visualbasic
Function WaitWhilePressed(Optional timeout As Time := _TIME_INFINITE) As Boolean
```

#### Parameters 

timeout 

<u>[Time](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Time)</u> Optional, defaults to _TIME_INFINITE. It is time to wait while the input is pressed. 

#### Return value 

<u>[Boolean](/wiki/spaces/CVCHELP/pages/495058958/Data+types#Boolean)</u> It is true if the timeout was not expired when the input was released. It is false if the timeout expired and the input was still pressed.