-
Notifications
You must be signed in to change notification settings - Fork 13
analog input not working #18
Copy link
Copy link
Open
Description
the example does not work. analogIn is not defined
i saw that it is defined in the other folder, so if i import import RTk.rtk.GPIO as GPIO it works, however then i get:
value = GPIO.analogIn(RECV_PIN)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python3\Lib\site-packages\RTk\rtk\GPIO.py", line 99, in analogIn
return instance.cake(channel)
^^^^^^^^^^^^^
AttributeError: 'GPIOClient' object has no attribute 'cake'
man i wanted to implement a simple infrared sensor, but if even the most simple analog reads are not working, than i guess that project is bound to fail
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels