class Qbic::TouchPanel
- Qbic::TouchPanel
- PlaceOS::Driver
- Reference
- Object
Defined in:
qbic/touch_panel.crConstant Summary
-
USERNAME =
"admin"
Class Method Summary
Instance Method Summary
- #device_info
- #get_all_leds
- #get_eddystone_uid
- #get_eddystone_url
- #get_ibeacon
- #get_led_state(name : String)
- #get_token
- #leds
- #on_update
- #set_all_leds(red : UInt8, green : UInt8, blue : UInt8)
-
#set_eddystone_uid(enabled : Bool, namespace : String | Nil = nil, instance : String | Nil = nil, advertise_mode : AdvertiseMode | Nil = nil, power : Int8 | Nil = nil)
https://github.com/google/eddystone/tree/master/eddystone-uid
- #set_eddystone_url(enabled : Bool, url : String | Nil = nil, advertise_mode : AdvertiseMode | Nil = nil, power : Int8 | Nil = nil)
- #set_ibeacon(enabled : Bool, major : UInt16 | Nil = nil, minor : UInt16 | Nil = nil, uuid : String | Nil = nil, advertise_mode : AdvertiseMode | Nil = nil, power : Int8 | Nil = nil)
- #set_led_state(name : String, red : UInt8, green : UInt8, blue : UInt8)
- #set_setting(key : String, value : String | JSON::Any)
- #set_url(value : String)
- #settings
- #token_expired? : Bool
- #update_password(new_password : String)
- #wifi_scan
Class Method Detail
Instance Method Detail
def set_eddystone_uid(enabled : Bool, namespace : String | Nil = nil, instance : String | Nil = nil, advertise_mode : AdvertiseMode | Nil = nil, power : Int8 | Nil = nil)
#
https://github.com/google/eddystone/tree/master/eddystone-uid
def set_eddystone_url(enabled : Bool, url : String | Nil = nil, advertise_mode : AdvertiseMode | Nil = nil, power : Int8 | Nil = nil)
#
def set_ibeacon(enabled : Bool, major : UInt16 | Nil = nil, minor : UInt16 | Nil = nil, uuid : String | Nil = nil, advertise_mode : AdvertiseMode | Nil = nil, power : Int8 | Nil = nil)
#