File tree Expand file tree Collapse file tree 3 files changed +14
-9
lines changed
Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 11Change Log
22==========
33
4+ v0.9.1
5+ ------
6+ - removed conditional checking RPi version; now always uses /dev/ttyACM0
7+
48v0.9.0
59------
610- Added `scroll_sprite` method.
Original file line number Diff line number Diff line change @@ -54,11 +54,12 @@ def get_rpi_revision():
5454 return re .sub ('Revision\t : ([a-z0-9]+)\n ' , r'\1' , line )
5555
5656 rpi_revision = get_rpi_revision ()
57- if (rpi_revision and
58- (rpi_revision != 'Beta' ) and
59- (int ('0x' + rpi_revision , 16 ) >= 0xa02082 )):
60- # RPi 3 and above
61- return '/dev/ttyS0'
62- else :
63- # RPi 2 and below
64- return '/dev/ttyACM0'
57+ # if (rpi_revision and
58+ # (rpi_revision != 'Beta') and
59+ # (int('0x'+rpi_revision, 16) >= 0xa02082)):
60+ # # RPi 3 and above
61+ # return '/dev/ttyS0'
62+ # else:
63+ # # RPi 2 and below
64+ # return '/dev/ttyACM0'
65+ return '/dev/ttyACM0'
Original file line number Diff line number Diff line change 1- __version__ = '0.9.0 '
1+ __version__ = '0.9.1 '
You can’t perform that action at this time.
0 commit comments