* Executing task: platformio run
Processing nanoatmega328 (platform: atmelavr; board: nanoatmega328; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/nanoatmega328.html
PLATFORM: Atmel AVR (4.0.0) > Arduino Nano ATmega328
HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB Flash
DEBUG: Current (avr-stub) On-board (avr-stub, simavr)
PACKAGES:
- framework-arduino-avr @ 5.1.0
- toolchain-atmelavr @ 1.70300.191015 (7.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 12 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Adafruit GFX Library @ 1.0.2
|-- Adafruit PCD8544 Nokia 5110 LCD library @ 1.0.0
| |-- SPI
| |-- Adafruit GFX Library @ 1.0.2
|-- Adafruit_SSD1306
| |-- Adafruit GFX Library @ 1.0.2
| |-- SPI
| |-- Wire
|-- LiquidCrystal
|-- LiquidCrystal_I2C
| |-- Wire
|-- SPI
|-- Wire
Building in release mode
Compiling .pio/build/nanoatmega328/src/main.cpp.o
Compiling .pio/build/nanoatmega328/lib870/Adafruit_GFX/Adafruit_GFX.cpp.o
Compiling .pio/build/nanoatmega328/libad3/Adafruit_SSD1306/Adafruit_SSD1306.cpp.o
src/main.cpp:82:0: warning: "F_CPU" redefined
#define F_CPU 16000000UL
<command-line>:0:0: note: this is the location of the previous definition
src/main.cpp:5157:0: warning: "StartADCwait" redefined
#define StartADCwait() ADCSRA = StartADCmsk; /* Start conversion */\
src/main.cpp:4138:0: note: this is the location of the previous definition
#define StartADCwait() ADCSRA = (1<<ADEN) | (1<<ADIF) | (1<<ADIE) | AUTO_CLOCK_DIV; /* enable ADC and Interrupt */\
src/main.cpp:5204:1: warning: multi-line comment [-Wcomment]
// #define DelayBigCap() us500delay(19); /* 2.5 ADC clocks = 20us */ \
^
src/main.cpp:1292:74: error: no matching function for call to 'Adafruit_SSD1306::Adafruit_SSD1306(int, int, TwoWire*, int)'
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
^
Compiling .pio/build/nanoatmega328/liba96/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp.o
In file included from src/main.cpp:72:0:
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:135:3: note: candidate: Adafruit_SSD1306::Adafruit_SSD1306(int8_t)
Adafruit_SSD1306(int8_t RST);
^~~~~~~~~~~~~~~~
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:135:3: note: candidate expects 1 argument, 4 provided
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:134:3: note: candidate: Adafruit_SSD1306::Adafruit_SSD1306(int8_t, int8_t, int8_t)
Adafruit_SSD1306(int8_t DC, int8_t RST, int8_t CS);
^~~~~~~~~~~~~~~~
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:134:3: note: candidate expects 3 arguments, 4 provided
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:133:3: note: candidate: Adafruit_SSD1306::Adafruit_SSD1306(int8_t, int8_t, int8_t, int8_t, int8_t)
Adafruit_SSD1306(int8_t SID, int8_t SCLK, int8_t DC, int8_t RST, int8_t CS);
^~~~~~~~~~~~~~~~
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:133:3: note: candidate expects 5 arguments, 4 provided
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:131:7: note: candidate: constexpr Adafruit_SSD1306::Adafruit_SSD1306(const Adafruit_SSD1306&)
class Adafruit_SSD1306 : public Adafruit_GFX {
^~~~~~~~~~~~~~~~
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:131:7: note: candidate expects 1 argument, 4 provided
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:131:7: note: candidate: constexpr Adafruit_SSD1306::Adafruit_SSD1306(Adafruit_SSD1306&&)
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:131:7: note: candidate expects 1 argument, 4 provided
src/main.cpp: In function 'void setup()':
src/main.cpp:1354:5: error: 'lcd_string' was not declared in this scope
lcd_string("Transistor");
^~~~~~~~~~
src/main.cpp:1354:5: note: suggested alternative: 'String'
lcd_string("Transistor");
^~~~~~~~~~
String
src/main.cpp:1355:5: error: 'lcd_set_cursor' was not declared in this scope
lcd_set_cursor(1, 0);
^~~~~~~~~~~~~~
lib/Adafruit_GFX/Adafruit_GFX.cpp: In member function 'boolean Adafruit_GFX_Button::contains(int16_t, int16_t)':
lib/Adafruit_GFX/Adafruit_GFX.cpp:602:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((x< (_x - _w/2)) || (x > (_x + _w/2))) return false;
~^~~~~~~~~~~~~
lib/Adafruit_GFX/Adafruit_GFX.cpp:602:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((x< (_x - _w/2)) || (x > (_x + _w/2))) return false;
~~^~~~~~~~~~~~~
lib/Adafruit_GFX/Adafruit_GFX.cpp:603:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((y< (_y - _h/2)) || (y > (_y + _h/2))) return false;
~^~~~~~~~~~~~~
lib/Adafruit_GFX/Adafruit_GFX.cpp:603:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((y< (_y - _h/2)) || (y > (_y + _h/2))) return false;
~~^~~~~~~~~~~~~
src/main.cpp:1430:5: error: 'lcd_fix_string' was not declared in this scope
lcd_fix_string(TestTimedOut); // Output Timeout
^~~~~~~~~~~~~~
src/main.cpp:1430:5: note: suggested alternative: 'lcd_fix2_string'
lcd_fix_string(TestTimedOut); // Output Timeout
^~~~~~~~~~~~~~
lcd_fix2_string
src/main.cpp:732:26: error: 'sleep_5ms' was not declared in this scope
#define wait_about3s() sleep_5ms(600)
^
src/main.cpp:1431:5: note: in expansion of macro 'wait_about3s'
wait_about3s(); // wait for 3 s
^~~~~~~~~~~~
src/main.cpp:732:26: note: suggested alternative: 'sleep_cpu'
#define wait_about3s() sleep_5ms(600)
^
src/main.cpp:1431:5: note: in expansion of macro 'wait_about3s'
wait_about3s(); // wait for 3 s
^~~~~~~~~~~~
src/main.cpp: In function 'void loop()':
src/main.cpp:1492:3: error: 'lcd_clear' was not declared in this scope
lcd_clear();
^~~~~~~~~
src/main.cpp:1510:3: error: 'Calibrate_UR' was not declared in this scope
Calibrate_UR(); // get Ref Voltages and Pin resistance
^~~~~~~~~~~~
src/main.cpp:1254:21: error: 'lcd_set_cursor' was not declared in this scope
#define lcd_line1() lcd_set_cursor(0,0) // move to beginning of 1 row
^
src/main.cpp:1511:3: note: in expansion of macro 'lcd_line1'
lcd_line1(); // 1 row
^~~~~~~~~
src/main.cpp:405:31: error: 'lcd_pgm_string' was not declared in this scope
#define lcd_fix2_string(a) lcd_pgm_string(a)
^
src/main.cpp:1573:5: note: in expansion of macro 'lcd_fix2_string'
lcd_fix2_string(VERSION_str); // if no Battery check, Version .. in row 1
^~~~~~~~~~~~~~~
src/main.cpp:405:31: note: suggested alternative: 'lcd_fix2_string'
#define lcd_fix2_string(a) lcd_pgm_string(a)
^
src/main.cpp:1573:5: note: in expansion of macro 'lcd_fix2_string'
lcd_fix2_string(VERSION_str); // if no Battery check, Version .. in row 1
^~~~~~~~~~~~~~~
lib/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp: In member function 'virtual size_t LiquidCrystal_I2C::write(uint8_t)':
lib/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp:204:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
lib/Adafruit_SSD1306/Adafruit_SSD1306.cpp:433:6: error: prototype for 'void Adafruit_SSD1306::dim(boolean)' does not match any in class 'Adafruit_SSD1306'
void Adafruit_SSD1306::dim(boolean dim) {
^~~~~~~~~~~~~~~~
In file included from lib/Adafruit_SSD1306/Adafruit_SSD1306.cpp:28:0:
lib/Adafruit_SSD1306/Adafruit_SSD1306.h:152:8: error: candidate is: void Adafruit_SSD1306::dim(uint8_t)
void dim(uint8_t contrast);
^~~
src/main.cpp:1585:5: error: 'RefVoltage' was not declared in this scope
RefVoltage(); // compute RHmultip = f(reference voltage)
^~~~~~~~~~
src/main.cpp:1585:5: note: suggested alternative: 'gthvoltage'
RefVoltage(); // compute RHmultip = f(reference voltage)
^~~~~~~~~~
gthvoltage
src/main.cpp:1594:9: error: 'lcd_fix_string' was not declared in this scope
lcd_fix_string(VCC_str); // VCC=
^~~~~~~~~~~~~~
src/main.cpp:1594:9: note: suggested alternative: 'lcd_fix2_string'
lcd_fix_string(VCC_str); // VCC=
^~~~~~~~~~~~~~
lcd_fix2_string
src/main.cpp:1595:9: error: 'DisplayValue' was not declared in this scope
DisplayValue(ADCconfig.U_AVCC,-3,'V',3); // Display 3 Digits of this mV units
^~~~~~~~~~~~
src/main.cpp:1595:9: note: suggested alternative: 'display_time'
DisplayValue(ADCconfig.U_AVCC,-3,'V',3); // Display 3 Digits of this mV units
^~~~~~~~~~~~
display_time
src/main.cpp:730:26: error: 'sleep_5ms' was not declared in this scope
#define wait_about1s() sleep_5ms(200)
^
src/main.cpp:1598:9: note: in expansion of macro 'wait_about1s'
wait_about1s();
^~~~~~~~~~~~
src/main.cpp:730:26: note: suggested alternative: 'sleep_cpu'
#define wait_about1s() sleep_5ms(200)
^
src/main.cpp:1598:9: note: in expansion of macro 'wait_about1s'
wait_about1s();
^~~~~~~~~~~~
src/main.cpp:1624:3: error: 'lcd_fix_string' was not declared in this scope
lcd_fix_string(TestRunning); // String: testing...
^~~~~~~~~~~~~~
src/main.cpp:1624:3: note: suggested alternative: 'lcd_fix2_string'
lcd_fix_string(TestRunning); // String: testing...
^~~~~~~~~~~~~~
lcd_fix2_string
src/main.cpp:1641:3: error: 'EntladePins' was not declared in this scope
EntladePins(); // discharge all capacitors!
^~~~~~~~~~~
src/main.cpp:1655:3: error: 'CheckPins' was not declared in this scope
CheckPins(TP1, TP2, TP3);
^~~~~~~~~
src/main.cpp:1669:5: error: 'ReadCapacity' was not declared in this scope
ReadCapacity(TP3, TP1);
^~~~~~~~~~~~
src/main.cpp:1674:7: error: 'ReadInductance' was not declared in this scope
ReadInductance(); // measure inductance
^~~~~~~~~~~~~~
*** [.pio/build/nanoatmega328/libad3/Adafruit_SSD1306/Adafruit_SSD1306.cpp.o] Error 1
src/main.cpp:1702:13: error: 'lcd_testpin' was not declared in this scope
lcd_testpin(diodes[0].Anode);
^~~~~~~~~~~
src/main.cpp:1706:13: error: 'lcd_testpin' was not declared in this scope
lcd_testpin(diodes[0].Cathode);
^~~~~~~~~~~
src/main.cpp:1720:9: error: 'GetIr' was not declared in this scope
GetIr(diodes[0].Cathode,diodes[0].Anode);
^~~~~
src/main.cpp:1723:7: error: 'UfOutput' was not declared in this scope
UfOutput(0x70);
^~~~~~~~
src/main.cpp:1731:7: error: 'ReadCapacity' was not declared in this scope
ReadCapacity(diodes[0].Cathode,diodes[0].Anode); // Capacity opposite flow direction
^~~~~~~~~~~~
src/main.cpp:1732:7: error: 'DisplayValue' was not declared in this scope
DisplayValue(cap.cval,cap.cpre,'F',3);
^~~~~~~~~~~~
src/main.cpp:1732:7: note: suggested alternative: 'display_time'
DisplayValue(cap.cval,cap.cpre,'F',3);
^~~~~~~~~~~~
display_time
src/main.cpp:1736:7: error: 'lcd_data' was not declared in this scope
lcd_data('2');
^~~~~~~~
src/main.cpp:1740:9: error: 'lcd_testpin' was not declared in this scope
lcd_testpin(diodes[0].Cathode);
^~~~~~~~~~~
src/main.cpp:1745:9: error: 'UfOutput' was not declared in this scope
UfOutput(0x01);
^~~~~~~~
src/main.cpp:1749:9: error: 'lcd_testpin' was not declared in this scope
lcd_testpin(diodes[0].Anode);
^~~~~~~~~~~
src/main.cpp:1754:9: error: 'UfOutput' was not declared in this scope
UfOutput(0x01);
^~~~~~~~
src/main.cpp:1759:9: error: 'lcd_testpin' was not declared in this scope
lcd_testpin(diodes[0].Anode);
^~~~~~~~~~~
src/main.cpp:1764:9: error: 'UfOutput' was not declared in this scope
UfOutput(0x01);
^~~~~~~~
src/main.cpp:1825:9: error: 'lcd_data' was not declared in this scope
lcd_data('3');
^~~~~~~~
src/main.cpp:1827:9: error: 'lcd_testpin' was not declared in this scope
lcd_testpin(diodes[trans.b].Anode);
^~~~~~~~~~~
src/main.cpp:1832:9: error: 'UfOutput' was not declared in this scope
UfOutput( (trans.b<<4)|trans.c);
^~~~~~~~
src/main.cpp:1882:5: error: 'PinLayout' was not declared in this scope
PinLayout('E','B','C'); // EBC= or 123=...
^~~~~~~~~
src/main.cpp:1891:5: error: 'DisplayValue' was not declared in this scope
DisplayValue(trans.hfe[0],0,0,3);
^~~~~~~~~~~~
src/main.cpp:1891:5: note: suggested alternative: 'display_time'
DisplayValue(trans.hfe[0],0,0,3);
^~~~~~~~~~~~
display_time
src/main.cpp:1892:5: error: 'lcd_space' was not declared in this scope
lcd_space();
^~~~~~~~~
src/main.cpp:1892:5: note: suggested alternative: 'isspace'
lcd_space();
^~~~~~~~~
isspace
src/main.cpp:1907:7: error: 'lcd_data' was not declared in this scope
lcd_data('P'); // P-channel
^~~~~~~~
src/main.cpp:1909:7: error: 'lcd_data' was not declared in this scope
lcd_data('N'); // N-channel
^~~~~~~~
src/main.cpp:1911:5: error: 'lcd_data' was not declared in this scope
lcd_data('-');
^~~~~~~~
src/main.cpp:1931:5: error: 'PinLayout' was not declared in this scope
PinLayout('S','G','D'); // SGD= or 123=...
^~~~~~~~~
src/main.cpp:1964:7: error: 'ReadCapacity' was not declared in this scope
ReadCapacity(trans.b,trans.e); // measure capacity
^~~~~~~~~~~~
src/main.cpp:1965:7: error: 'DisplayValue' was not declared in this scope
DisplayValue(cap.cval,cap.cpre,'F',3);
^~~~~~~~~~~~
src/main.cpp:1965:7: note: suggested alternative: 'display_time'
DisplayValue(cap.cval,cap.cpre,'F',3);
^~~~~~~~~~~~
display_time
src/main.cpp:1975:7: error: 'DisplayValue' was not declared in this scope
DisplayValue(trans.uBE[1],-5,'A',2);
^~~~~~~~~~~~
src/main.cpp:1975:7: note: suggested alternative: 'display_time'
DisplayValue(trans.uBE[1],-5,'A',2);
^~~~~~~~~~~~
display_time
src/main.cpp:1985:5: error: 'DisplayValue' was not declared in this scope
DisplayValue(gthvoltage,-3,'V',2);
^~~~~~~~~~~~
src/main.cpp:1985:5: note: suggested alternative: 'display_time'
DisplayValue(gthvoltage,-3,'V',2);
^~~~~~~~~~~~
display_time
src/main.cpp:2000:7: error: 'lcd_testpin' was not declared in this scope
lcd_testpin(resis[0].rb); // Pin-number 1
^~~~~~~~~~~
src/main.cpp:2031:7: error: 'lcd_data' was not declared in this scope
lcd_data(x);
^~~~~~~~
src/main.cpp:2041:7: error: 'RvalOut' was not declared in this scope
RvalOut(0);
^~~~~~~
src/main.cpp:2052:11: error: 'DisplayValue' was not declared in this scope
DisplayValue(resis[0].lx,resis[0].lpre,'H',3); // output inductance
^~~~~~~~~~~~
src/main.cpp:2052:11: note: suggested alternative: 'display_time'
DisplayValue(resis[0].lx,resis[0].lpre,'H',3); // output inductance
^~~~~~~~~~~~
display_time
src/main.cpp:2059:9: error: 'RvalOut' was not declared in this scope
RvalOut(1);
^~~~~~~
src/main.cpp:2063:9: error: 'RvalOut' was not declared in this scope
RvalOut(0);
^~~~~~~
src/main.cpp:2067:9: error: 'RvalOut' was not declared in this scope
RvalOut(0);
^~~~~~~
src/main.cpp:2078:5: error: 'lcd_testpin' was not declared in this scope
lcd_testpin(cap.ca); // Pin number 1
^~~~~~~~~~~
src/main.cpp:2083:7: error: 'GetVloss' was not declared in this scope
GetVloss(); // get Voltage loss of capacitor
^~~~~~~~
src/main.cpp:2091:9: error: 'DisplayValue' was not declared in this scope
DisplayValue(cap.v_loss,-1,'%',2);
^~~~~~~~~~~~
src/main.cpp:2091:9: note: suggested alternative: 'display_time'
DisplayValue(cap.v_loss,-1,'%',2);
^~~~~~~~~~~~
display_time
src/main.cpp:2096:5: error: 'DisplayValue' was not declared in this scope
DisplayValue(cap.cval_max,cap.cpre_max,'F',4);
^~~~~~~~~~~~
src/main.cpp:2096:5: note: suggested alternative: 'display_time'
DisplayValue(cap.cval_max,cap.cpre_max,'F',4);
^~~~~~~~~~~~
display_time
src/main.cpp:2099:17: error: 'GetESR' was not declared in this scope
cap.esr = GetESR(cap.cb, cap.ca); // get ESR of capacitor
^~~~~~
src/main.cpp:2124:5: error: 'lcd_data' was not declared in this scope
lcd_data(NumOfDiodes + '0');
^~~~~~~~
src/main.cpp:2134:3: error: 'PinLayout' was not declared in this scope
PinLayout(Cathode_char,'G','A'); // CGA= or 123=...
^~~~~~~~~
src/main.cpp:289:19: warning: left shift count >= width of type [-Wshift-count-overflow]
#define RST_PIN 17 // Pin, is switched to low, if push button is pressed
^
src/main.cpp:2146:28: note: in expansion of macro 'RST_PIN'
while(!(ON_PIN_REG & (1<<RST_PIN))); // wait ,until button is released
^~~~~~~
src/main.cpp:726:29: error: 'sleep_5ms' was not declared in this scope
#define wait_about200ms() sleep_5ms(40)
^
src/main.cpp:2147:3: note: in expansion of macro 'wait_about200ms'
wait_about200ms();
^~~~~~~~~~~~~~~
src/main.cpp:726:29: note: suggested alternative: 'sleep_cpu'
#define wait_about200ms() sleep_5ms(40)
^
src/main.cpp:2147:3: note: in expansion of macro 'wait_about200ms'
wait_about200ms();
^~~~~~~~~~~~~~~
src/main.cpp:289:19: warning: left shift count >= width of type [-Wshift-count-overflow]
#define RST_PIN 17 // Pin, is switched to low, if push button is pressed
^
src/main.cpp:2151:27: note: in expansion of macro 'RST_PIN'
if(!(ON_PIN_REG & (1<<RST_PIN))) {
^~~~~~~
src/main.cpp: In function 'void UfOutput(uint8_t)':
src/main.cpp:1255:21: error: 'lcd_set_cursor' was not declared in this scope
#define lcd_line2() lcd_set_cursor(1,0) // move to beginning of 2 row
^
src/main.cpp:2201:3: note: in expansion of macro 'lcd_line2'
lcd_line2(); // 2 row
^~~~~~~~~
src/main.cpp:2202:3: error: 'lcd_fix_string' was not declared in this scope
lcd_fix_string(Uf_str); // "Uf="
^~~~~~~~~~~~~~
src/main.cpp:2202:3: note: suggested alternative: 'lcd_fix2_string'
lcd_fix_string(Uf_str); // "Uf="
^~~~~~~~~~~~~~
lcd_fix2_string
src/main.cpp:2203:3: error: 'mVOutput' was not declared in this scope
mVOutput(bcdnum >> 4);
^~~~~~~~
src/main.cpp:2203:3: note: suggested alternative: 'UfOutput'
mVOutput(bcdnum >> 4);
^~~~~~~~
UfOutput
src/main.cpp: In function 'void mVOutput(uint8_t)':
src/main.cpp:2210:5: error: 'DisplayValue' was not declared in this scope
DisplayValue(diodes[nn].Voltage,-3,'V',3);
^~~~~~~~~~~~
src/main.cpp:2210:5: note: suggested alternative: 'display_time'
DisplayValue(diodes[nn].Voltage,-3,'V',3);
^~~~~~~~~~~~
display_time
src/main.cpp:2211:5: error: 'lcd_space' was not declared in this scope
lcd_space();
^~~~~~~~~
src/main.cpp:2211:5: note: suggested alternative: 'isspace'
lcd_space();
^~~~~~~~~
isspace
src/main.cpp: In function 'void RvalOut(uint8_t)':
src/main.cpp:2221:12: error: 'GetESR' was not declared in this scope
rr = GetESR(resis[ii].ra,resis[ii].rb);
^~~~~~
src/main.cpp:2222:7: error: 'DisplayValue' was not declared in this scope
DisplayValue(rr,-2,LCD_CHAR_OMEGA,3);
^~~~~~~~~~~~
src/main.cpp:2222:7: note: suggested alternative: 'display_time'
DisplayValue(rr,-2,LCD_CHAR_OMEGA,3);
^~~~~~~~~~~~
display_time
src/main.cpp:2224:7: error: 'DisplayValue' was not declared in this scope
DisplayValue(resis[ii].rx,-1,LCD_CHAR_OMEGA,4);
^~~~~~~~~~~~
src/main.cpp:2224:7: note: suggested alternative: 'display_time'
DisplayValue(resis[ii].rx,-1,LCD_CHAR_OMEGA,4);
^~~~~~~~~~~~
display_time
src/main.cpp:2230:3: error: 'lcd_space' was not declared in this scope
lcd_space();
^~~~~~~~~
src/main.cpp:2230:3: note: suggested alternative: 'isspace'
lcd_space();
^~~~~~~~~
isspace
src/main.cpp: In function 'void ChargePin10ms(uint8_t, uint8_t)':
src/main.cpp:721:28: error: 'sleep_5ms' was not declared in this scope
#define wait_about10ms() sleep_5ms(2)
^
src/main.cpp:2249:3: note: in expansion of macro 'wait_about10ms'
wait_about10ms(); // wait about 10ms
^~~~~~~~~~~~~~
src/main.cpp:721:28: note: suggested alternative: 'sleep_cpu'
#define wait_about10ms() sleep_5ms(2)
^
src/main.cpp:2249:3: note: in expansion of macro 'wait_about10ms'
wait_about10ms(); // wait about 10ms
^~~~~~~~~~~~~~
src/main.cpp: In function 'void EntladePins()':
src/main.cpp:2273:16: error: 'W5msReadADC' was not declared in this scope
adcmv[0] = W5msReadADC(TP1); // which voltage has Pin 1?
^~~~~~~~~~~
src/main.cpp:2274:16: error: 'ReadADC' was not declared in this scope
adcmv[1] = ReadADC(TP2); // which voltage has Pin 2?
^~~~~~~
src/main.cpp:2304:18: error: 'W20msReadADC' was not declared in this scope
adcmv[0] = W20msReadADC(TP1); // which voltage has Pin 1?
^~~~~~~~~~~~
src/main.cpp: In function 'void DisplayValue(long unsigned int, int8_t, unsigned char, unsigned char)':
src/main.cpp:2462:5: error: 'lcd_data' was not declared in this scope
lcd_data('.');
^~~~~~~~
src/main.cpp:2484:5: error: 'lcd_data' was not declared in this scope
lcd_data(OutBuffer[Index]); // display char
^~~~~~~~
src/main.cpp:2492:20: error: 'lcd_data' was not declared in this scope
if (Prefix != 0) lcd_data(Prefix);
^~~~~~~~
src/main.cpp:2493:13: error: 'lcd_data' was not declared in this scope
if (Unit) lcd_data(Unit);
^~~~~~~~
src/main.cpp: In function 'void PinLayout(char, char, char)':
src/main.cpp:2544:5: error: 'lcd_fix_string' was not declared in this scope
lcd_fix_string(N123_str); // " 123="
^~~~~~~~~~~~~~
src/main.cpp:2544:5: note: suggested alternative: 'lcd_fix2_string'
lcd_fix_string(N123_str); // " 123="
^~~~~~~~~~~~~~
lcd_fix2_string
src/main.cpp:2546:27: error: 'lcd_data' was not declared in this scope
if (ii == trans.e) lcd_data(pin1); // Output Character in right order
^~~~~~~~
src/main.cpp:2547:27: error: 'lcd_data' was not declared in this scope
if (ii == trans.b) lcd_data(pin2);
^~~~~~~~
src/main.cpp:2548:27: error: 'lcd_data' was not declared in this scope
if (ii == trans.c) lcd_data(pin3);
^~~~~~~~
src/main.cpp: In function 'void CheckPins(uint8_t, uint8_t, uint8_t)':
src/main.cpp:3146:16: error: 'W5msReadADC' was not declared in this scope
adc.lp_otr = W5msReadADC(LowPin); // read voltage of Low-Pin
^~~~~~~~~~~
src/main.cpp:3149:18: error: 'ReadADC' was not declared in this scope
adc.lp_otr = ReadADC(LowPin); // read voltage of Low-Pin again
^~~~~~~
src/main.cpp:3170:15: error: 'W20msReadADC' was not declared in this scope
adc.lp1 = W20msReadADC(LowPin); // measure voltage at the assumed Source
^~~~~~~~~~~~
src/main.cpp:3171:15: error: 'ReadADC' was not declared in this scope
adc.tp1 = ReadADC(TristatePin); // measure Gate voltage
^~~~~~~
src/main.cpp:3259:15: error: 'ReadADC' was not declared in this scope
adc.tp1 = ReadADC(TristatePin); // voltage at the base resistor
^~~~~~~
src/main.cpp: In function 'void GetIr(uint8_t, uint8_t)':
src/main.cpp:4087:11: error: 'W5msReadADC' was not declared in this scope
u_res = W5msReadADC(lopin); // read voltage
^~~~~~~~~~~
src/main.cpp:1257:21: error: 'lcd_set_cursor' was not declared in this scope
#define lcd_line4() lcd_set_cursor(3,0) // move to beginning of 4 row
^
src/main.cpp:4091:5: note: in expansion of macro 'lcd_line4'
lcd_line4();
^~~~~~~~~
src/main.cpp:4094:3: error: 'lcd_fix_string' was not declared in this scope
lcd_fix_string(Ir_str); // output text " Ir="
^~~~~~~~~~~~~~
src/main.cpp:4094:3: note: suggested alternative: 'lcd_fix2_string'
lcd_fix_string(Ir_str); // output text " Ir="
^~~~~~~~~~~~~~
lcd_fix2_string
src/main.cpp: In function 'void ReadCapacity(uint8_t, uint8_t)':
src/main.cpp:4480:32: error: 'getRLmultip' was not declared in this scope
cap.cval_uncorrected.dw *= getRLmultip(adcv[2]+adcv[3]); // get factor to convert time to capacity from table
^~~~~~~~~~~
src/main.cpp:4480:32: note: suggested alternative: 'RHmultip'
cap.cval_uncorrected.dw *= getRLmultip(adcv[2]+adcv[3]); // get factor to convert time to capacity from table
^~~~~~~~~~~
RHmultip
src/main.cpp:4485:3: error: 'Scale_C_with_vcc' was not declared in this scope
Scale_C_with_vcc();
^~~~~~~~~~~~~~~~
src/main.cpp: In function 'void ReadInductance()':
src/main.cpp:5029:16: error: 'get_log' was not declared in this scope
per_ref2 = get_log(per_ref1); // -log(1 - per_ref1/1000)
^~~~~~~
src/main.cpp: In function 'uint16_t GetESR(uint8_t, uint8_t)':
src/main.cpp:5471:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (esrvalue > esr0) {
~~~~~~~~~^~~~~~
src/main.cpp:5267:14: warning: unused variable 'jj' [-Wunused-variable]
uint8_t ii,jj; // tempory values
^~
src/main.cpp: In function 'void lcd_string(char*)':
src/main.cpp:5751:5: error: 'lcd_data' was not declared in this scope
lcd_data(*data);
^~~~~~~~
src/main.cpp:5751:5: note: suggested alternative: 'data'
lcd_data(*data);
^~~~~~~~
data
src/main.cpp: In function 'void lcd_pgm_string(const unsigned char*)':
src/main.cpp:5761:5: error: 'lcd_data' was not declared in this scope
lcd_data(cc);
^~~~~~~~
src/main.cpp:5761:5: note: suggested alternative: 'data'
lcd_data(cc);
^~~~~~~~
data
src/main.cpp: In function 'void lcd_testpin(unsigned char)':
src/main.cpp:5780:3: error: 'lcd_data' was not declared in this scope
lcd_data(temp + '1');
^~~~~~~~
src/main.cpp: In function 'void lcd_space()':
src/main.cpp:5785:3: error: 'lcd_data' was not declared in this scope
lcd_data(' ');
^~~~~~~~
src/main.cpp:5785:3: note: suggested alternative: 'lcd_space'
lcd_data(' ');
^~~~~~~~
lcd_space
src/main.cpp: In function 'void lcd_fix_string(const unsigned char*)':
src/main.cpp:5793:5: error: 'lcd_data' was not declared in this scope
lcd_data(cc);
^~~~~~~~
src/main.cpp:5793:5: note: suggested alternative: 'data'
lcd_data(cc);
^~~~~~~~
data
src/main.cpp: In function 'void lcd_data(unsigned char)':
src/main.cpp:5814:7: error: 'uart_putc' was not declared in this scope
uart_putc('>'); uart_putc('|'); break;
^~~~~~~~~
src/main.cpp:5817:7: error: 'uart_putc' was not declared in this scope
uart_putc('|'); uart_putc('<'); break;
^~~~~~~~~
src/main.cpp:5820:7: error: 'uart_putc' was not declared in this scope
uart_putc('|'); uart_putc('|'); break;
^~~~~~~~~
src/main.cpp:5823:7: error: 'uart_putc' was not declared in this scope
uart_putc('['); uart_putc('='); break;
^~~~~~~~~
src/main.cpp:5826:7: error: 'uart_putc' was not declared in this scope
uart_putc(']'); break;
^~~~~~~~~
src/main.cpp:5829:7: error: 'uart_putc' was not declared in this scope
uart_putc('u'); // "u"
^~~~~~~~~
src/main.cpp:5833:7: error: 'uart_putc' was not declared in this scope
uart_putc('o'); // "ohm"
^~~~~~~~~
src/main.cpp:5838:7: error: 'uart_putc' was not declared in this scope
uart_putc(temp1);
^~~~~~~~~
*** [.pio/build/nanoatmega328/src/main.cpp.o] Error 1