Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPM Invalid Argument: Temperature: mraa_aio_init() failed, invalid pin? #699

Open
trajkd opened this issue Oct 24, 2020 · 2 comments
Open

Comments

@trajkd
Copy link

trajkd commented Oct 24, 2020

I’m getting

Traceback (most recent call last):
File "/usr/src/app/grovetemp.py", line 28, in <module>
temp = upm.Temperature(0)
File "/usr/local/lib/python2.7/site-packages/upm/pyupm_temperature.py", line 106, in __init__
this = _pyupm_temperature.new_Temperature(pin, scale, r0, b)
UPM Invalid Argument: Temperature: mraa_aio_init() failed, invalid pin?

even though I have:

from upm import pyupm_temperature as upm
temp = upm.Temperature(0)

in temperature.py and I’ve connected the sensor to A0.
What might be going on?

@trajkd
Copy link
Author

trajkd commented Oct 24, 2020

The board is an Intel Edison Arduino with the Grove Temperature v1.1 sensor.

@trajkd
Copy link
Author

trajkd commented Oct 24, 2020

The Intel Edison board is running balena OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant