python - Adafruit motor hat python3 -
iv written script uses adafruit motor hat library control motors when recives 433mhz ex transmitted codes! short range @ moment best way project!
the problem 433mhz rx/tx library python3 , won't work on python2
and adafruit_motor_hat_library pyrhon2 , wont work on pyrhon3?
as need both of these work in same scrip how can go this?
also if try , run command line won't work, (if python3.scrip.py brings error adafruit motor hat, if python.script.py brings error on 433mhz?
if needs full scrip can copy , past here problem doesn't seem actual scrip seemed pretty pointless! if need can provide it
to save time, convert smaller of 2 libraries mention other version. if they're same size, i'd convert 2.x library 3. motor hat library ~350 lines of code, of not change in conversion 3.x. self-teaching exercise...
Comments
Post a Comment