Hi, now after pulling the correct libraries I got this problem:
Did you change anything "DcsBios.h"?
F-18C Cabin Pressure Gauge
In file included from C:\Users\scorp\Desktop\Arduino F18c_HORNET\__01_FINAL\BUDIKY Final\07_CABIN-ovy_tlakomer\07_CABIN_FINAL\07_CABIN_FINAL.ino:11:
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:42:20: error: expected constructor, destructor, or type conversion before '(' token
42 | ISR(USART0_RX_vect) {
| ^
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h: In function 'void DcsBios::setup()':
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:18:14: error: 'PRR' was not declared in this scope; did you mean 'PRR0'?
18 | #define PRR0 PRR
| ^~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:48:25: note: in expansion of macro 'PRR0'
48 | PRR0 &= ~(1<<PRUSART0);
| ^~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:48:38: error: 'PRUSART0' was not declared in this scope
48 | PRR0 &= ~(1<<PRUSART0);
| ^~~~~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:49:25: error: 'UBRR0H' was not declared in this scope
49 | UBRR0H = 0;
| ^~~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:50:25: error: 'UBRR0L' was not declared in this scope
50 | UBRR0L = 3; // 250000 bps
| ^~~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:51:25: error: 'UCSR0A' was not declared in this scope
51 | UCSR0A = 0;
| ^~~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:52:25: error: 'UCSR0C' was not declared in this scope
52 | UCSR0C = (1<<UCSZ00) | (1<<UCSZ01);
| ^~~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:52:38: error: 'UCSZ00' was not declared in this scope
52 | UCSR0C = (1<<UCSZ00) | (1<<UCSZ01);
| ^~~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:52:52: error: 'UCSZ01' was not declared in this scope
52 | UCSR0C = (1<<UCSZ00) | (1<<UCSZ01);
| ^~~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:54:25: error: 'UCSR0B' was not declared in this scope
54 | UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0);
| ^~~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:54:38: error: 'RXEN0' was not declared in this scope
54 | UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0);
| ^~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:54:51: error: 'TXEN0' was not declared in this scope
54 | UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0);
| ^~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:54:64: error: 'RXCIE0' was not declared in this scope
54 | UCSR0B = (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0);
| ^~~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h: In function 'void DcsBios::usart_tx(const char*)':
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:67:41: error: 'UCSR0A' was not declared in this scope
67 | while(!(UCSR0A & (1<<UDRE0))); // wait until TX buffer is empty
| ^~~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:67:54: error: 'UDRE0' was not declared in this scope
67 | while(!(UCSR0A & (1<<UDRE0))); // wait until TX buffer is empty
| ^~~~~
c:\Users\scorp\OneDrive\Dokumenty\Arduino\libraries\DCS-BIOS\src/DcsBios.h:68:33: error: 'UDR0' was not declared in this scope
68 | UDR0 = *c++; // write byte to TX buffer
| ^~~~
C:\Users\scorp\Desktop\Arduino F18c_HORNET\__01_FINAL\BUDIKY Final\07_CABIN-ovy_tlakomer\07_CABIN_FINAL\07_CABIN_FINAL.ino: In function 'void loop()':
C:\Users\scorp\Desktop\Arduino F18c_HORNET\__01_FINAL\BUDIKY Final\07_CABIN-ovy_tlakomer\07_CABIN_FINAL\07_CABIN_FINAL.ino:183:3: error: 'PORTB' was not declared in this scope
183 | PORTB |= (1<<5);
| ^~~~~
exit status 1
Compilation error: 'PORTB' was not declared in this scope
DcsBios.h