Hi
I'm just trying to add a .zip library but the arduino is just popping that there's an ERROR: 13 INTERNAL.
The library I'm just triying to install is the RH_ASK.h library. I just downloaded in the github page.
Here's the link: GitHub - Haven-Lau/Arduino-Libraries: Arduino libraries I use
If someoone can help me, I'll be very thankfull, it's for a school project I'm trying to do
Thanks
that's a zip of tons of different libraries so the IDE feature for install from zip might not work
I would not install those, they are 8 years old copies of common libraries, many of those have been upgraded since ➜ just look at the names, type that name inside the library manager and download the latest and version.
that being said, if you want to install those outdated libraries:
- download the zip into a folder on your desktop
- unzip inside that folder
- select all the folders that have been created by unzipping
- move them over to the custom library directory of your Mac/PC (on my Mac it's under my home directory in Documents/Arduino/libraries)
- start the IDE, it will update its list of known libraries
Hi, thank you very much for helping me, but how can I find my custom library directory in my PC?
in your preference window, at the top , there is the path for your Sketchbook folder
the library should be there. (I don't use windows)
Oh thanks I finally find it, thanks a lot!!
I've already moved the files unziped but it still have the problem. Here's the code:
#include <ELECHOUSE_CC1101.h>
#include <RH_ASK.h>
byte degree_symbol[8] =
{
0b00111,
0b00101,
0b00111,
0b00000,
0b00000,
0b00000,
0b00000,
0b00000
};
#define size 30
byte buffer[size];
//Need to define output strings
String str_humid;
String str_temp;
String str_out;
RH_ASK rf_driver;
//
void setup() {
Serial.begin(9600);
ELECHOUSE_cc1101.Init();
ELECHOUSE_cc1101.SetReceive();
}
void loop() {
pinMode(GDO0, INPUT);
pinMode(GDO2, OUTPUT);
byte temperature = 0;
byte humidity = 0;
uint8_t buf[11];
uint8_t buflen = sizeof(buf);
str_out = String((char*)buf);
Serial.print("Humidity: ");
Serial.print(str_humid);
Serial.print(" - Temperature: " + str_temp);
Serial.println(str_temp);
delay(1000);
ELECHOUSE_cc1101.SetReceive();
}
And then it says: C:\Users\hangj\OneDrive\桌面\Comandos de Arduino\CC1101 (RECEIVER) CODE\CC1101 (RECEIVER) CODE.ino:7:10: fatal error: RH_ASK.h: No such file or directory
compilation terminated.
exit status 1
Compilation error: RH_ASK.h: No such file or directory
where did you install the RadioHead library? did you install the 2015 version of it? ➜ get the latest one from RadioHead: RadioHead Packet Radio library for embedded microprocessors
Take a look at " Importing a .zip Library" & "Manual installation" at Add libraries to Arduino IDE
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.