You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why cant my code in LASER.py access the BOARD7 CONSTANT in RaspPi?
I fixed class name from "RasPi" to "RaspPi" recently...
I had circular imports that i removed in an attempt to fix error (e.i. RaspPi.py imported Actuator and Actuator.py imported RaspPi)
python3 LASER.py
Traceback (most recent call last):
File "LASER.py", line 347, in
TestLASERobject = LASER(RaspPi.BOARD7, "40004672601138", "205-0003-A", LASER.STANDARD_POWER, 10, CocoDrink.COCOTAPS_LOGO)
AttributeError: type object 'RaspPi' has no attribute 'BOARD7'
The text was updated successfully, but these errors were encountered:
Why cant my code in LASER.py access the BOARD7 CONSTANT in RaspPi?
python3 LASER.py
Traceback (most recent call last):
File "LASER.py", line 347, in
TestLASERobject = LASER(RaspPi.BOARD7, "40004672601138", "205-0003-A", LASER.STANDARD_POWER, 10, CocoDrink.COCOTAPS_LOGO)
AttributeError: type object 'RaspPi' has no attribute 'BOARD7'
The text was updated successfully, but these errors were encountered: