Class: Phidgets::TextLCD

Inherits:
Object
  • Object
show all
Includes:
Common
Defined in:
lib/phidgets-ffi/text_lcd.rb

Overview

This class represents a PhidgetTextLCD.

Defined Under Namespace

Classes: TextLCDCustomCharacter, TextLCDScreens

Constant Summary collapse

Klass =
Phidgets::FFI::CPhidgetTextLCD

Instance Attribute Summary collapse

Method Summary

Methods included from Common

#attached?, #attached_to_server?, attributes, #close, #detached?, #detached_to_server?, device_class, #device_class, device_id, #id, #initialize, #label, #label=, #name, #on_attach, #on_detach, #on_error, #on_server_connect, #on_server_disconnect, #on_sleep, #on_wake, #serial_number, #server_address, server_address, #server_id, server_id, server_status, #type, #version, #wait_for_attachment

Instance Attribute Details

#attributesObject (readonly)

The attributes of a PhidgetTextLCD



20
21
22
# File 'lib/phidgets-ffi/text_lcd.rb', line 20

def attributes
  @attributes
end

#custom_charactersTextLCDCustomCharacter (readonly)

Collection of custom characters that is defined for the PhidgetTextLCD



15
16
17
# File 'lib/phidgets-ffi/text_lcd.rb', line 15

def custom_characters
  @custom_characters
end

#screensTextLCDScreens (readonly)

Collection of screens

Returns:



11
12
13
# File 'lib/phidgets-ffi/text_lcd.rb', line 11

def screens
  @screens
end