I have some Modulino family I2C modules in my lab.
App Lab 0.2.0 finds the library, but doesn't install it. I've tried other libraries, and they seem to install. For example, I successfully installed the Adafruit GPS Library to use I2C GPS, and this library was installed.
And anyway when I try to compile it gives me the following error:
The library MsgPack has been automatically added from sketch project.
/home/arduino/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld: /home/arduino/ArduinoApps/a/.cache/sketch/libraries/Adafruit GPS Library/NMEA_data.cpp.o: in function `Adafruit_GPS::boatAngle(float, float)':
/home/arduino/.arduino15/internal/Adafruit_GPS_Library_1.7.5_c50db2d7ae65efd0/Adafruit GPS Library/src/NMEA_data.cpp:539: undefined reference to `asin'
/home/arduino/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld: /home/arduino/.arduino15/internal/Adafruit_GPS_Library_1.7.5_c50db2d7ae65efd0/Adafruit GPS Library/src/NMEA_data.cpp:539: undefined reference to `acos'
collect2: error: ld returned 1 exit status
exit status 1
In my opinion we are not 100% compatible with the standard Arduino libraries.
Good morning.
Does anyone know how to help us?
I bought the modulino modules thinking that Arduino on Arduino was the best solution.
An alternative system for installing the libraries is also fine.
# app.yaml: The main configuration file for your Arduino App.
# This file describes the application's metadata and properties.
# The user-visible name of the application.
name: a
# A brief description of what the application does.
description: ""
# The icon for the application, can be an emoji or a short string.
icon: 😀
# A list of network ports that the application exposes.
# Example: [80, 443]
ports: []
# A list of bricks used by this application.
bricks: []
I tried the example: Home Climate Monitoring.
This one loads Modulono 5.0 and it works, it also compiles the library.
And I read the data from the thermo module.
To solve the issue, you need to install the Arduino_Modulino (and remove the Modulino) library.
You can install it by following the instructions below:
Open the App with Arduino AppLab
Click on the “add library” button in the libraries section on the left
Type Arduino modulino in the input box
Click install button (version 0.6.1).
Start the App
NOTE: For a missing feature, it is not possible to remove the old Modulino entry from the sketch.yaml file using the ArduinoAppLab.
For doing this, you could use adb or ssh (https://docs.arduino.cc/tutorials/uno-q/ssh/) and remove manually the - Modulino (0.5.0) line from the sketch.yaml
To be sure, I created a new program.
I searched for the library in the libraries and clicked the install button. As before, it seems to load, but then it doesn't appear to be included in the sketch.yami file.
Yes, even if not recommended, you could manually edit the sketch.yaml.
You can find your apps in the /home/arduino/ArduinoApps/<your-app>/ location.
Just stop the app, open the /home/arduino/ArduinoApps/<your-app>/sketch/sketch.yaml file with a file editor and add the line - Arduino_Modulino (0.6.1)