0

can't compile to Uno adafruit am2320 example
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

can't compile to Uno adafruit am2320 example

by myfarm on Sat Jan 05, 2019 9:48 pm

I am experienced at Arduino and the IDE, but I am unable to
successfully compile the example in Adafruit am2320 temp/humidity lib.
I have even tried other am2320 libs with same error. I am NOT trying to upload,
only compile. Again I have written a lot of sketches and have much experience but
not with that lib. 1.8.5
regards
Mike

myfarm
 
Posts: 4
Joined: Sat Jan 05, 2019 9:40 pm

Re: can't compile to Uno adafruit am2320 example

by franklin97355 on Sat Jan 05, 2019 10:42 pm

What errors are you getting and do you have the latest versions installed? I just compiled the example without errors.

franklin97355
 
Posts: 20701
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: can't compile to Uno adafruit am2320 example

by myfarm on Sat Jan 05, 2019 10:46 pm

ide 1.8.5 and just redownloaded lib

myfarm
 
Posts: 4
Joined: Sat Jan 05, 2019 9:40 pm

Re: can't compile to Uno adafruit am2320 example

by myfarm on Sat Jan 05, 2019 10:47 pm

exit status 1
error compiling for board Uno

myfarm
 
Posts: 4
Joined: Sat Jan 05, 2019 9:40 pm

Re: can't compile to Uno adafruit am2320 example

by myfarm on Sun Jan 06, 2019 12:04 am

It needed a additional lib.
Adafruit sensor.h

Thanks for your help.
regards
Mike

myfarm
 
Posts: 4
Joined: Sat Jan 05, 2019 9:40 pm

Please be positive and constructive with your questions and comments.