From 2f224a4851dfd5df34b947683d80ab78d170c2ae Mon Sep 17 00:00:00 2001 From: James Bowman Date: Fri, 22 Mar 2019 18:56:41 -0700 Subject: [PATCH] Fix device range to be 08-77 --- python/samples/i2cgui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samples/i2cgui.py b/python/samples/i2cgui.py index 556d287..b134801 100644 --- a/python/samples/i2cgui.py +++ b/python/samples/i2cgui.py @@ -117,7 +117,7 @@ class Frame(wx.Frame): r = wx.RadioButton(self, label = s) r.Bind(wx.EVT_RADIOBUTTON, self.choose_addr) return r - self.heat = {i:addrbutton("%02X" % i) for i in range(8, 112)} + self.heat = {i:addrbutton("%02X" % i) for i in range(0x08, 0x78)} devgrid = wx.GridSizer(8, wx.Size(4, 6)) for i,l in sorted(self.heat.items()): devgrid.Add(l)