I'm beginning in Arduino I do not understand what the error means. Please tell me where I can find the resources to understand it and allow the code to compile.
#include <RCSwitch.h>
#include <Ultrasonic.h>
Ultrasonic ultrasonic(11,10);
RCSwitch mySwitch = RCSwitch();
int i;
void setup() {
mySwitch.enableTransmit(4);
}
void loop() {
i = ultrasonic.Ranging(CM);
mySwitch.send(i, 24);
delay(100);
}
Arduino: 1.8.7 (Windows 7), Board: "Arduino/Genuino Uno"
433mhz-lcd-water-level-transmitter:2:24: error: Ultrasonic.h: No such file or directory
compilation terminated.
exit status 1 Ultrasonic.h: No such file or directory
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.