Skip to content

Commit 8f3cbec

Browse files
committed
The libraries "BigNumber" and "BigNumberMath" are not available as standard Arduino libraries. Rather than requiring these libraries to be manually relocated to the Arduino "libraries" directory, just refer to them in place. Note for an Arduino project to support this file structure all sub-directory includes must be contained within a "src" sub-directory. The sub-directory limitation was introduced in 1.6.10, see arduino/Arduino#5176, and arduino/arduino-builder#148
1 parent f4da8a5 commit 8f3cbec

File tree

20 files changed

+5
-5
lines changed

20 files changed

+5
-5
lines changed

Mega_Sun_Harvester_Program_V01.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#ifndef ARDUINO_UNO
1616
#include "SunCalculations.h"
17-
#include <BigNumber.h>
17+
#include "src/BigNumber/BigNumber.h"
1818
#endif
1919

2020
#include <Wire.h>

SunCalculations.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "SunCalculations.h"
22
#include "globals.h"
3-
#include <BigNumberMath.h>
3+
#include "src/BigNumberMath/BigNumberMath.h"
44

55
BigNumber findjd(int year, int month, const int &day, const int &timezone, const int &hour, const int &minute, const int &second);
66
BigNumber TimeInJulianCenturies(const BigNumber &jd);

SunCalculations.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef suncalculations_h
22
#define suncalculations_h
33

4-
#include <BigNumber.h>
4+
#include "src/BigNumber/BigNumber.h"
55

66
void findSunsAltAndAzOne(const int &year, const int &month, const int &day, const int &timezone, const int &hour, const int &minute, const int &second, const float &latitude, const float &longitude);
77
void findSunsAltAndAzOne(const int &year, const int &month, const int &day, const int &timezone, const int &hour, const int &minute, const int &second, const BigNumber &latitude, const BigNumber &longitude);
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)