Skip to content

Commit

Permalink
Clarify API usage instructions to specify version
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree authored Aug 18, 2017
1 parent 6aa6535 commit 34aee69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ sudo setcap 'cap_net_raw,cap_net_admin+eip' `which hcitool`
>>> from magicblue import MagicBlue
>>> bulb_mac_address = 'XX:XX:XX:XX:XX:XX'
>>> bulb = MagicBlue(bulb_mac_address)
>>> bulb = MagicBlue(bulb_mac_address, 9) # Replace 9 by whatever your version is (default: 7)
>>> bulb.connect()
>>> bulb.set_color([255, 0, 0]) # Set red
>>> bulb.set_random_color() # Set random
Expand Down

0 comments on commit 34aee69

Please sign in to comment.