You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
towlerj edited this page May 8, 2020
·
2 revisions
Infoblocks are basic data that can be stored on the device. Each infoblock consists of 32 bytes. Infoblock1 is used to store the name of the BlinkStick.
fromblinkstickimportblinkstickbstick=blinkstick.find_first()
#set and get device info-block1 herebstick.set_info_block1("Kitchen BlinkStick")
print (bstick.get_info_block1())
#set and get device info-block2 herebstick.set_info_block2("info-block-2data")
print (bstick.get_info_block2())