Need help with Libary

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Eric1000
 
Posts: 50
Joined: Sat Jan 08, 2022 11:05 am

Need help with Libary

Post by Eric1000 »

I am using the Feather M0 Adalogger and can not find a library.

When I try to compile I get an error, this error. Where can i find this missing library?

Code: Select all

C:\Users\rchrd\Documents\Arduino\libraries\SoftwareSerial\src\SoftwareSerial.cpp:45:10: fatal error: util/delay_basic.h: No such file or directory
 #include <util/delay_basic.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Multiple libraries were found for "Adafruit_ZeroDMA.h"
 Used: C:\Users\rchrd\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.5\libraries\Adafruit_ZeroDMA
 Not used: C:\Users\rchrd\Documents\Arduino\libraries\Adafruit_Zero_DMA_Library
Multiple libraries were found for "SD.h"
 Used: C:\Users\rchrd\Documents\Arduino\libraries\SD
 Not used: C:\Program Files (x86)\Arduino\libraries\SD
Compilation error: exit status 1}
Here is the code of FlightComputer.h, which will not compile.

Code: Select all

#ifndef FlightComputer
#define FlightComputer

#if (ARDUINO >= 100)
  #include <Arduino.h>
#else
  #include <WProgram.h>
#endif  
  
#include <TimerOne.h>
#include <SPI.h>
#include <SD.h>
#include <SoftwareSerial.h>

#endif


//Setup the radio tramsmiter and GPS serial port
SoftwareSerial RadioTX_Port(9, 10); // RX, TX
SoftwareSerial GPS_Interface(0,1); // RX, TX

Timer1 :: RadioTX_Interrupt
Timer1 :: Sample_Interrupt
Timer1 :: SerailData_Interrupt

class FightComputer{
    
  public:

#define Safety_Key_Pin 6

#define DebounceTime 50;

//Set up SD card contorl & varables  

// set up variables using the SD utility library functions:
  Sd2Card SD_Card;
  SdVolume SD_volume;
  SdFile SD_root;
  
  const int8_t SD_ChipSelect = 4;
  const int8_t SD_Dect_Pin = 7;
  
void _SD_Card_Initialize();   
Attachments
FlightComputerV.jpg
FlightComputerV.jpg (206.25 KiB) Viewed 99 times

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Need help with Libary

Post by Franklin97355 »

Can you post a link to the program you are trying to compile? The problem may be that Some of the board files Arduino uses do not have a util directory.

User avatar
Eric1000
 
Posts: 50
Joined: Sat Jan 08, 2022 11:05 am

Re: Need help with Libary

Post by Eric1000 »

Here is a link to the program I trying to compile. Is this link you are asking for?

https://www.dropbox.com/sh/t03fkve7gphl ... 5WtJa?dl=0

User avatar
Eric1000
 
Posts: 50
Joined: Sat Jan 08, 2022 11:05 am

Re: Need help with Libary

Post by Eric1000 »

Since I have not heard back on my question, I guess it was a stupid question or one that can be.
I guess there is nothing else but to drop this project.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”