Skip to content

Commit

Permalink
Merge pull request #56 from derco0n/master
Browse files Browse the repository at this point in the history
Small Zonescanner improvements
  • Loading branch information
trackmastersteve committed Dec 9, 2018
2 parents b91e708 + 5176230 commit b9fec13
Show file tree
Hide file tree
Showing 12 changed files with 894 additions and 397 deletions.
2 changes: 1 addition & 1 deletion alienfx/core/controller_m17xr4.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class AlienFXControllerM17xR4(alienfx_controller.AlienFXController):
# Speed capabilities. The higher the number, the slower the speed of
# blink/morph actions. The min speed is selected by trial and error as
# the lowest value that will not result in strange blink/morph behaviour.
DEFAULT_SPEED = 200
DEFAULT_SPEED = 75
MIN_SPEED = 50

# Zone codes
Expand Down
4 changes: 2 additions & 2 deletions alienfx/core/zonescanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ def scan(self):
zonename = self.askzonename()
self.zonesfound[zonename] = zone # Store name an zone code in Dictionary
zone = zone*2

print("These are your zonecodes for current controller (\""+vendorstring + " / " + devicestring + "\"):")
print("")
print("These are your " + str(len(self.zonesfound.items())) + " zonecodes for the current controller (\"VID: "+vendorstring + " / DEV: " + devicestring + "\"):")
for z in self.zonesfound.items():
print(z[0]+": 0x"+format(z[1], '04x')) # Print out each zone found
print("")
Expand Down
2 changes: 1 addition & 1 deletion alienfx/data/themes/17r4_allblue.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
]
}
],
"speed": 200,
"speed": 75,
"AC Charging": [
{
"zones": [
Expand Down
Loading

0 comments on commit b9fec13

Please sign in to comment.