¿ªÔÆÌåÓý

Re: Sketch ?BITX-V6 version 6.3.1 Arduino-IDE error in the complication on the NANO EVERY board. #v6 #nano #ubitxv6


IW4AJR Loris
 

I use 1.8.13 Arduino-IDE over iMac with MacOS 10.14.6
The device driver is not important during verification sketch , bat is not problematic, other sketch working very well with integrate drivers in MacOS.

Following the list of the errors obtained in both use mode of NANO EVERY original Arduino board

in ATMEGA328 version, the list of errors is that (verify sketch):

Arduino:1.8.13 (Mac OS X), Scheda:"Arduino Nano Every, ATMEGA328"
In file included from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/Arduino.h:27:0,
? ? ? ? ? ? ? ? ?from sketch/encoder.cpp:1:
sketch/encoder.cpp: In function 'void PCINT1_vect()':
sketch/encoder.cpp:24:6: warning: 'PCINT1_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
?ISR (PCINT1_vect)
? ? ? ^
sketch/encoder.cpp: In function 'void pci_setup(byte)':
encoder.cpp:63:4: error: 'digitalPinToPCMSK' was not declared in this scope
? ?*digitalPinToPCMSK(pin) |= bit (digitalPinToPCMSKbit(pin)); ?// enable pin
? ? ^~~~~~~~~~~~~~~~~
sketch/encoder.cpp:63:4: note: suggested alternative: 'digitalPinToPort'
? ?*digitalPinToPCMSK(pin) |= bit (digitalPinToPCMSKbit(pin)); ?// enable pin
? ? ^~~~~~~~~~~~~~~~~
? ? digitalPinToPort
In file included from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/HardwareSPI.h:21:0,
? ? ? ? ? ? ? ? ?from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/ArduinoAPI.h:31,
? ? ? ? ? ? ? ? ?from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/Arduino.h:23,
? ? ? ? ? ? ? ? ?from sketch/encoder.cpp:1:
encoder.cpp:63:35: error: 'digitalPinToPCMSKbit' was not declared in this scope
? ?*digitalPinToPCMSK(pin) |= bit (digitalPinToPCMSKbit(pin)); ?// enable pin
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
/Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/Common.h:70:25: note: in definition of macro 'bit'
?#define bit(b) (1UL << (b))
? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/encoder.cpp:63:35: note: suggested alternative: 'digitalPinToPort'
? ?*digitalPinToPCMSK(pin) |= bit (digitalPinToPCMSKbit(pin)); ?// enable pin
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
/Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/Common.h:70:25: note: in definition of macro 'bit'
?#define bit(b) (1UL << (b))
? ? ? ? ? ? ? ? ? ? ? ? ?^
encoder.cpp:64:3: error: 'PCIFR' was not declared in this scope
? ?PCIFR ?|= bit (digitalPinToPCICRbit(pin)); // clear any outstanding interrupt
? ?^~~~~
In file included from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/HardwareSPI.h:21:0,
? ? ? ? ? ? ? ? ?from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/ArduinoAPI.h:31,
? ? ? ? ? ? ? ? ?from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/Arduino.h:23,
? ? ? ? ? ? ? ? ?from sketch/encoder.cpp:1:
encoder.cpp:64:18: error: 'digitalPinToPCICRbit' was not declared in this scope
? ?PCIFR ?|= bit (digitalPinToPCICRbit(pin)); // clear any outstanding interrupt
? ? ? ? ? ? ? ? ? ^
/Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/Common.h:70:25: note: in definition of macro 'bit'
?#define bit(b) (1UL << (b))
? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/encoder.cpp:64:18: note: suggested alternative: 'digitalPinToPort'
? ?PCIFR ?|= bit (digitalPinToPCICRbit(pin)); // clear any outstanding interrupt
? ? ? ? ? ? ? ? ? ^
/Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/Common.h:70:25: note: in definition of macro 'bit'
?#define bit(b) (1UL << (b))
? ? ? ? ? ? ? ? ? ? ? ? ?^
encoder.cpp:65:3: error: 'PCICR' was not declared in this scope
? ?PCICR ?|= bit (digitalPinToPCICRbit(pin)); // enable interrupt for the group
? ?^~~~~
sketch/encoder.cpp: In function 'void enc_setup()':
encoder.cpp:81:3: error: 'TCCR1A' was not declared in this scope
? ?TCCR1A = 0;//"normal" mode
? ?^~~~~~
sketch/encoder.cpp:81:3: note: suggested alternative: 'TCB1'
? ?TCCR1A = 0;//"normal" mode
? ?^~~~~~
? ?TCB1
encoder.cpp:82:3: error: 'TCCR1B' was not declared in this scope
? ?TCCR1B = 3;//clock divider of 64
? ?^~~~~~
sketch/encoder.cpp:82:3: note: suggested alternative: 'TCB1'
? ?TCCR1B = 3;//clock divider of 64
? ?^~~~~~
? ?TCB1
encoder.cpp:83:3: error: 'TCNT1' was not declared in this scope
? ?TCNT1 ?= 0;//start counting at 0
? ?^~~~~
sketch/encoder.cpp:83:3: note: suggested alternative: 'TCB1'
? ?TCNT1 ?= 0;//start counting at 0
? ?^~~~~
? ?TCB1
encoder.cpp:84:3: error: 'OCR1A' was not declared in this scope
? ?OCR1A ?= F_CPU * CALLBACK_PERIOD_MS / 1000 / 64;//set target number
? ?^~~~~
sketch/encoder.cpp:84:18: warning: integer overflow in expression [-Woverflow]
? ?OCR1A ?= F_CPU * CALLBACK_PERIOD_MS / 1000 / 64;//set target number
encoder.cpp:85:3: error: 'TIMSK1' was not declared in this scope
? ?TIMSK1 |= (1 << OCIE1A);//enable interrupt
? ?^~~~~~
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
?};
?^
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/encoder.cpp:85:3: note: suggested alternative: 'TIMERB1'
? ?TIMSK1 |= (1 << OCIE1A);//enable interrupt
? ?^~~~~~
? ?TIMERB1
encoder.cpp:85:19: error: 'OCIE1A' was not declared in this scope
? ?TIMSK1 |= (1 << OCIE1A);//enable interrupt
? ? ? ? ? ? ? ? ? ?^~~~~~
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
?};
?^
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/Arduino.h:27:0,
? ? ? ? ? ? ? ? ?from sketch/encoder.cpp:1:
sketch/encoder.cpp: In function 'void TIMER1_COMPA_vect()':
sketch/encoder.cpp:88:5: warning: 'TIMER1_COMPA_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
?ISR(TIMER1_COMPA_vect)
? ? ?^
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/setup.cpp: In function 'void setupFreq()':
sketch/setup.cpp:33:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayDialog("Set Frequency", "Push TUNE to Save");
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:33:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/setup.cpp:40:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("You should have a", 20, 50, DISPLAY_CYAN, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:41:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("signal exactly at ", 20, 75, DISPLAY_CYAN, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:46:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Rotate to zerobeat", 20, 180, DISPLAY_CYAN, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp: In function 'void setupBFO()':
sketch/setup.cpp:102:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayDialog("Set BFO", "Press TUNE to Save");
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:102:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp: In function 'void displayVFO(int)':
sketch/ubitx_ui.cpp:186:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("VFOA", &b);
? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp: In function 'void setupCwDelay()':
sketch/setup.cpp:135:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayDialog("Set CW T/R Delay", "Press tune to Save");
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:135:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:207:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("VFOB", &b);
? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp: In function 'void setupKeyer()':
sketch/setup.cpp:172:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayDialog("Set CW Keyer", "Press tune to Save");
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:172:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/setup.cpp:175:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?displayText("< Hand Key >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/nano_gui.cpp: In function 'void displayInit()':
sketch/nano_gui.cpp:292:13: warning: invalid conversion from 'const GFXfont*' to 'GFXfont*' [-fpermissive]
? ?gfxFont = &ubitx_font;
? ? ? ? ? ? ?^~~~~~~~~~~
sketch/setup.cpp:177:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?displayText("< Iambic A >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:179:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?displayText("< Iambic B >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:206:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ? ?displayText("< Hand Key >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:208:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ? ?displayText("< Iambic A >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:210:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ? ?displayText("< Iambic B >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp: In function 'void drawSetupMenu()':
sketch/setup.cpp:233:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayText("Setup", 10, 10, 300, 35, DISPLAY_WHITE, DISPLAY_NAVY, DISPLAY_WHITE);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:236:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Set Freq...", 30, 50, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:237:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Set BFO...", 30, 80, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:238:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("CW Delay...", 30, 110, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:239:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("CW Keyer...", 30, 140, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:240:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Touch Screen...", 30, 170, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:241:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Exit", 30, 200, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp: In function 'void displayRIT()':
sketch/ubitx_ui.cpp:293:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ? ?displayText("", 0, 45,159, 30, DISPLAY_WHITE, DISPLAY_NAVY, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp:295:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ? ?displayText("", 160, 45,159, 30, DISPLAY_WHITE, DISPLAY_NAVY, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp: In function 'void fastTune()':
sketch/ubitx_ui.cpp:307:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Fast tune", 100, 55, DISPLAY_CYAN, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp: In function 'void drawTx()':
sketch/ubitx_ui.cpp:424:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?displayText("TX", 280, 48, 37, 28, DISPLAY_BLACK, DISPLAY_ORANGE, DISPLAY_BLUE);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp: In function 'void splitToggle(Button*)':
sketch/ubitx_ui.cpp:557:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?getButton("RIT", &b2);
? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp: In function 'void vfoReset()':
sketch/ubitx_ui.cpp:575:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("SPL", &b);
? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp:580:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("RIT", &b);
? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp: In function 'void sidebandToggle(Button*)':
sketch/ubitx_ui.cpp:610:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?getButton("USB", &e);
? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp:612:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?getButton("LSB", &e);
? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp: In function 'void redrawVFOs()':
sketch/ubitx_ui.cpp:623:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("RIT", &b);
? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp:632:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("LSB", &b);
? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp:634:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("USB", &b);
? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp: In function 'int setCwSpeed()':
sketch/ubitx_ui.cpp:664:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?wpm = getValueByKnob(1, 100, 1, ?wpm, "CW: ", " WPM");
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp:664:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/nano_gui.cpp: In function 'void setupTouch()':
sketch/nano_gui.cpp:490:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayText("Click on the cross", 20,100, 200, 50, DISPLAY_WHITE, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
/Users/lorisbollina/Desktop/ubitx_v6.1_code/ubitx_v6.1_code.ino: In function 'void setup()':
/Users/lorisbollina/Desktop/ubitx_v6.1_code/ubitx_v6.1_code.ino:817:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("v6.1", 270, 210, DISPLAY_LIGHTGREY, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
exit status 1
'digitalPinToPCMSK' was not declared in this scope
?
in native version (ATMEGA4809) is the error list is (verify sketch):

Arduino:1.8.13 (Mac OS X), Scheda:"Arduino Nano Every, None (ATMEGA4809)"
In file included from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/Arduino.h:27:0,
? ? ? ? ? ? ? ? ?from sketch/encoder.cpp:1:
sketch/encoder.cpp: In function 'void PCINT1_vect()':
sketch/encoder.cpp:24:6: warning: 'PCINT1_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
?ISR (PCINT1_vect)
? ? ? ^
sketch/encoder.cpp: In function 'void pci_setup(byte)':
encoder.cpp:63:4: error: 'digitalPinToPCMSK' was not declared in this scope
? ?*digitalPinToPCMSK(pin) |= bit (digitalPinToPCMSKbit(pin)); ?// enable pin
? ? ^~~~~~~~~~~~~~~~~
sketch/encoder.cpp:63:4: note: suggested alternative: 'digitalPinToPort'
? ?*digitalPinToPCMSK(pin) |= bit (digitalPinToPCMSKbit(pin)); ?// enable pin
? ? ^~~~~~~~~~~~~~~~~
? ? digitalPinToPort
In file included from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/HardwareSPI.h:21:0,
? ? ? ? ? ? ? ? ?from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/ArduinoAPI.h:31,
? ? ? ? ? ? ? ? ?from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/Arduino.h:23,
? ? ? ? ? ? ? ? ?from sketch/encoder.cpp:1:
encoder.cpp:63:35: error: 'digitalPinToPCMSKbit' was not declared in this scope
? ?*digitalPinToPCMSK(pin) |= bit (digitalPinToPCMSKbit(pin)); ?// enable pin
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
/Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/Common.h:70:25: note: in definition of macro 'bit'
?#define bit(b) (1UL << (b))
? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/encoder.cpp:63:35: note: suggested alternative: 'digitalPinToPort'
? ?*digitalPinToPCMSK(pin) |= bit (digitalPinToPCMSKbit(pin)); ?// enable pin
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
/Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/Common.h:70:25: note: in definition of macro 'bit'
?#define bit(b) (1UL << (b))
? ? ? ? ? ? ? ? ? ? ? ? ?^
encoder.cpp:64:3: error: 'PCIFR' was not declared in this scope
? ?PCIFR ?|= bit (digitalPinToPCICRbit(pin)); // clear any outstanding interrupt
? ?^~~~~
In file included from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/HardwareSPI.h:21:0,
? ? ? ? ? ? ? ? ?from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/ArduinoAPI.h:31,
? ? ? ? ? ? ? ? ?from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/Arduino.h:23,
? ? ? ? ? ? ? ? ?from sketch/encoder.cpp:1:
encoder.cpp:64:18: error: 'digitalPinToPCICRbit' was not declared in this scope
? ?PCIFR ?|= bit (digitalPinToPCICRbit(pin)); // clear any outstanding interrupt
? ? ? ? ? ? ? ? ? ^
/Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/Common.h:70:25: note: in definition of macro 'bit'
?#define bit(b) (1UL << (b))
? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp: In function 'void setupFreq()':
sketch/setup.cpp:33:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayDialog("Set Frequency", "Push TUNE to Save");
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:33:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/setup.cpp:40:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("You should have a", 20, 50, DISPLAY_CYAN, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:41:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("signal exactly at ", 20, 75, DISPLAY_CYAN, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:46:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Rotate to zerobeat", 20, 180, DISPLAY_CYAN, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp: In function 'void setupBFO()':
sketch/setup.cpp:102:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayDialog("Set BFO", "Press TUNE to Save");
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:102:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/setup.cpp: In function 'void setupCwDelay()':
sketch/setup.cpp:135:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayDialog("Set CW T/R Delay", "Press tune to Save");
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:135:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/setup.cpp: In function 'void setupKeyer()':
sketch/setup.cpp:172:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayDialog("Set CW Keyer", "Press tune to Save");
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:172:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/setup.cpp:175:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?displayText("< Hand Key >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:177:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?displayText("< Iambic A >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:179:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?displayText("< Iambic B >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:206:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ? ?displayText("< Hand Key >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:208:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ? ?displayText("< Iambic A >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:210:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ? ?displayText("< Iambic B >", 100, 100, 120, 26, DISPLAY_CYAN, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp: In function 'void drawSetupMenu()':
sketch/setup.cpp:233:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayText("Setup", 10, 10, 300, 35, DISPLAY_WHITE, DISPLAY_NAVY, DISPLAY_WHITE);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:236:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Set Freq...", 30, 50, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/setup.cpp:237:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Set BFO...", 30, 80, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:238:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("CW Delay...", 30, 110, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:239:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("CW Keyer...", 30, 140, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:240:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Touch Screen...", 30, 170, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/setup.cpp:241:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Exit", 30, 200, DISPLAY_WHITE, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/encoder.cpp:64:18: note: suggested alternative: 'digitalPinToPort'
? ?PCIFR ?|= bit (digitalPinToPCICRbit(pin)); // clear any outstanding interrupt
? ? ? ? ? ? ? ? ? ^
/Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/api/Common.h:70:25: note: in definition of macro 'bit'
?#define bit(b) (1UL << (b))
? ? ? ? ? ? ? ? ? ? ? ? ?^
encoder.cpp:65:3: error: 'PCICR' was not declared in this scope
? ?PCICR ?|= bit (digitalPinToPCICRbit(pin)); // enable interrupt for the group
? ?^~~~~
sketch/encoder.cpp: In function 'void enc_setup()':
encoder.cpp:81:3: error: 'TCCR1A' was not declared in this scope
? ?TCCR1A = 0;//"normal" mode
? ?^~~~~~
sketch/encoder.cpp:81:3: note: suggested alternative: 'TCB1'
? ?TCCR1A = 0;//"normal" mode
? ?^~~~~~
? ?TCB1
encoder.cpp:82:3: error: 'TCCR1B' was not declared in this scope
? ?TCCR1B = 3;//clock divider of 64
? ?^~~~~~
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
?};
?^
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/encoder.cpp:82:3: note: suggested alternative: 'TCB1'
? ?TCCR1B = 3;//clock divider of 64
? ?^~~~~~
? ?TCB1
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
encoder.cpp:83:3: error: 'TCNT1' was not declared in this scope
? ?TCNT1 ?= 0;//start counting at 0
? ?^~~~~
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:47:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
?};
?^
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/encoder.cpp:83:3: note: suggested alternative: 'TCB1'
? ?TCNT1 ?= 0;//start counting at 0
? ?^~~~~
? ?TCB1
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
encoder.cpp:84:3: error: 'OCR1A' was not declared in this scope
? ?OCR1A ?= F_CPU * CALLBACK_PERIOD_MS / 1000 / 64;//set target number
? ?^~~~~
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/ubitx_ui.cpp:68:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
sketch/encoder.cpp:84:18: warning: integer overflow in expression [-Woverflow]
? ?OCR1A ?= F_CPU * CALLBACK_PERIOD_MS / 1000 / 64;//set target number
encoder.cpp:85:3: error: 'TIMSK1' was not declared in this scope
? ?TIMSK1 |= (1 << OCIE1A);//enable interrupt
? ?^~~~~~
sketch/nano_gui.cpp: In function 'void displayInit()':
sketch/nano_gui.cpp:292:13: warning: invalid conversion from 'const GFXfont*' to 'GFXfont*' [-fpermissive]
? ?gfxFont = &ubitx_font;
? ? ? ? ? ? ?^~~~~~~~~~~
sketch/encoder.cpp:85:3: note: suggested alternative: 'TIMERB1'
? ?TIMSK1 |= (1 << OCIE1A);//enable interrupt
? ?^~~~~~
? ?TIMERB1
encoder.cpp:85:19: error: 'OCIE1A' was not declared in this scope
? ?TIMSK1 |= (1 << OCIE1A);//enable interrupt
? ? ? ? ? ? ? ? ? ?^~~~~~
sketch/ubitx_ui.cpp: In function 'void displayVFO(int)':
sketch/ubitx_ui.cpp:186:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("VFOA", &b);
? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp:207:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("VFOB", &b);
? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp: In function 'void displayRIT()':
sketch/ubitx_ui.cpp:293:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ? ?displayText("", 0, 45,159, 30, DISPLAY_WHITE, DISPLAY_NAVY, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp:295:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ? ?displayText("", 160, 45,159, 30, DISPLAY_WHITE, DISPLAY_NAVY, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp: In function 'void fastTune()':
sketch/ubitx_ui.cpp:307:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("Fast tune", 100, 55, DISPLAY_CYAN, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/nano_gui.cpp: In function 'void setupTouch()':
sketch/nano_gui.cpp:490:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayText("Click on the cross", 20,100, 200, 50, DISPLAY_WHITE, DISPLAY_BLACK, DISPLAY_BLACK);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp: In function 'void drawTx()':
sketch/ubitx_ui.cpp:424:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?displayText("TX", 280, 48, 37, 28, DISPLAY_BLACK, DISPLAY_ORANGE, DISPLAY_BLUE);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp: In function 'void splitToggle(Button*)':
sketch/ubitx_ui.cpp:557:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?getButton("RIT", &b2);
? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp: In function 'void vfoReset()':
sketch/ubitx_ui.cpp:575:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("SPL", &b);
? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp:580:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("RIT", &b);
? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp: In function 'void sidebandToggle(Button*)':
sketch/ubitx_ui.cpp:610:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?getButton("USB", &e);
? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp:612:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?getButton("LSB", &e);
? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp: In function 'void redrawVFOs()':
sketch/ubitx_ui.cpp:623:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("RIT", &b);
? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp:632:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("LSB", &b);
? ? ? ? ? ? ? ? ? ? ? ? ^
sketch/ubitx_ui.cpp:634:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?getButton("USB", &b);
? ? ? ? ? ? ? ? ? ? ? ? ^
In file included from /Users/lorisbollina/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.6/cores/arduino/Arduino.h:27:0,
? ? ? ? ? ? ? ? ?from sketch/encoder.cpp:1:
sketch/encoder.cpp: In function 'void TIMER1_COMPA_vect()':
sketch/encoder.cpp:88:5: warning: 'TIMER1_COMPA_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
?ISR(TIMER1_COMPA_vect)
? ? ?^
sketch/ubitx_ui.cpp: In function 'int setCwSpeed()':
sketch/ubitx_ui.cpp:664:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ? ?wpm = getValueByKnob(1, 100, 1, ?wpm, "CW: ", " WPM");
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
sketch/ubitx_ui.cpp:664:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/Users/lorisbollina/Desktop/ubitx_v6.1_code/ubitx_v6.1_code.ino: In function 'void setup()':
/Users/lorisbollina/Desktop/ubitx_v6.1_code/ubitx_v6.1_code.ino:817:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
? ?displayRawText("v6.1", 270, 210, DISPLAY_LIGHTGREY, DISPLAY_NAVY);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
exit status 1
'digitalPinToPCMSK' was not declared in this scope
?

Join [email protected] to automatically receive all group messages.