Re: Current Firmware

Jack, W8TEE
 

Missing libraries is a very common error that beginners make. In many cases, the programmer(s) who wrote the code supply the URL for libraries that are not distributed as part of the Arduino IDE. For example, this is near the top of the prototype header file in JackAl:

#include <Arduino.h>          // Standard with IDE
#include <EEPROM.h>           // Standard with IDE
#include <math.h>             // Standard with IDE
#include <SD.h>               // Standard with IDE
#include <Wire.h>             // Standard with IDE
#include <SPI.h>              // Standard with IDE
#include <stdio.h>            // Standard with IDE

#include <OpenAudio_ArduinoLibrary.h> // https://github.com/chipaudette/OpenAudio_ArduinoLibrary

#include <Adafruit_GFX.h>     // https://github.com/adafruit/Adafruit-GFX-Library
#include <Audio.h>            // https://github.com/PaulStoffregen/Audio
#include <RA8875.h>           // https://github.com/sumotoy/RA8875
#include <Rotary.h>           // https://github.com/brianlow/Rotary
#include <SerialFlash.h>      // https://github.com/PaulStoffregen/SerialFlash
#include <Time.h>             // https://github.com/PaulStoffregen/Time
#include <TimeLib.h>          // Part of Stoffregen library, done for backward compatibility
#include <TimerOne.h>         // Distributed with Teensy
#include <UTFT.h>             // http://www.rinkydinkelectronics.com/library.php?id=51
#include <URTouch.h>          // http://www.rinkydinkelectronics.com/library.php?id=92
#include <UTFT_Buttons.h>     // http://www.rinkydinkelectronics.com/library.php?id=61

If you get an error message stating that something "is not found", quite often it is a missing library. Providing a URL avoids confusion in locating the proper library because, in many cases, there are multiple libraries that use the same name (e.g., LiquidCrystal).

Jack, W8TEE


On Tuesday, June 5, 2018, 11:24:24 PM EDT, Tom, wb6b <wb6b@...> wrote:


Does the ubitx code rely on other libraries like "wire"? Missing libraries are a common cause of compile errors. 

I have installed many libraries over time, I may have needed dependencies already installed, so I don't know if the code won't compile for need of libraries when people are starting from scratch. 

Go to "Sketch", "Include Library", "Manage Libraries" to find libraries you may need. The error messages should mention what can't be found, and needed to be installed.

Ton, wb6b

Join BITX20@groups.io to automatically receive all group messages.