Class: I2CDevice::ACM1602NI
- Defined in:
- lib/templates/grove_pi/i2c/device/acm1602ni.rb
Overview
16x02 LCD module with I2C. Note: This device only run under speed=50kHz. akizukidenshi.com/catalog/g/gP-05693/
Constant Summary
Constants inherited from HD44780
Constants inherited from I2CDevice
Instance Attribute Summary
Attributes inherited from I2CDevice
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ ACM1602NI
constructor
A new instance of ACM1602NI.
Methods inherited from HD44780
#clear_display, #cursor_or_display_shift, #define_character, #display_on_off_control, #entry_mode_set, #function_set, #initialize_lcd, #put_line, #read_busy_flag_and_address, #return_home, #set_cgram_address, #set_ddram_address
Methods inherited from I2CDevice
Constructor Details
#initialize(args = {}) ⇒ ACM1602NI
Returns a new instance of ACM1602NI.
10 11 12 13 14 15 |
# File 'lib/templates/grove_pi/i2c/device/acm1602ni.rb', line 10 def initialize(args={}) args[:address] ||= 0x50 super @lines = [] initialize_lcd end |