Raptor-Dev-Display-Touchscreen

From NewEagleWiki
Jump to navigation Jump to search

New Eagle > Products Wiki > Raptor Platform > Raptor-Dev > Raptor-Dev Display Libraries > Raptor-Dev Display Touchscreen

Raptor™ Display Touchscreen

The blocks in this subsystem are used for touchscreen functions. These include defining buttons, reading button status, and touchscreen state.

Blocks

Block Description Appearance
Button Definition

Prints a button onto the touchscreen.

Button Definition block
Button Definition block
Button Status

Outputs the 'isPressed' status of the touch screen button of the same name.

Button Status block
Button Status block
Slider

Draws a slider on the screen that outputs a value from 1 to 100, essentially to provide a potentiometer to the user.

Slider block
Slider block
Touchscreen

Returns the current state of the touchscreen.

Touchscreen block
Touchscreen block
Toggle Switch

Draws a toggle switch on the screen that will hold either an off or an on state.

Toggle Switch block
Toggle Switch block