Hi, I hope you're all doing well.
I am new to the platform, and I am super excited to be here.
I need some help with my project, I am using the TinyZero processor and the Tiny Shield combo sensor, I have downloaded the example files but I am unable to load it to the board, the error I see on the screen is:
In file included from /Users/migueljauregui/Documents/Arduino/Temperature_Humidity_TinyShield_example2/Temperature_Humidity_TinyShield_example2.ino:21:0:
/Users/migueljauregui/Documents/Arduino/libraries/SI7021-master/SI7021.h:26:12: fatal error: pgmspace.h: No such file or directory
#include <pgmspace.h>
^~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
Would you please guide me in the right direction as how can I fix it.
Thanks in advance,
Mike Jauregui
Quote from: mikejauregui on June 22, 2023, 02:25:12 PM
Hi, I hope you're all doing well.
I am new to the platform, and I am super excited to be here.
I need some help with my project, I am using the TinyZero processor and the Tiny Shield combo sensor, I have downloaded the example files but I am unable to load it to the board, the error I see on the screen is:
In file included from /Users/migueljauregui/Documents/Arduino/Temperature_Humidity_TinyShield_example2/Temperature_Humidity_TinyShield_example2.ino:21:0:
/Users/migueljauregui/Documents/Arduino/libraries/SI7021-master/SI7021.h:26:12: fatal error: pgmspace.h: No such file or directory
#include <pgmspace.h>
^~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
Would you please guide me in the right direction as how can I fix it.
Thanks in advance,
Mike Jauregui
Just to be sure, have you followed the steps starting from here? https://learn.tinycircuits.com/Processors/TinyZero_Setup_Tutorial/#:~:text=%27Additional%20Boards%20Manager%20URLs%27%3A%20https%3A//files.tinycircuits.com/ArduinoBoards/package_tinycircuits_index.json (https://learn.tinycircuits.com/Processors/TinyZero_Setup_Tutorial/#:~:text=%27Additional%20Boards%20Manager%20URLs%27%3A%20https%3A//files.tinycircuits.com/ArduinoBoards/package_tinycircuits_index.json)
Also, be sure to use the library download we provide: https://github.com/TinyCircuits/TinyCircuits-TinyShield-Sensor-ASD2511/raw/master/libraries/SI7021.zip (https://github.com/TinyCircuits/TinyCircuits-TinyShield-Sensor-ASD2511/raw/master/libraries/SI7021.zip) (it may be a slightly modified version).
Thanks a lot Jason, I have reinstalled the library and now it is working properly.
Cheers!
Miguel