Może ta płytka ma tylko jeden serial... Spróbuję za chwilekolsek345 pisze:Próbowałem skompilowac u siebie ten soft na starszych wersjach arduino (1.0.5 , 1.5.8 , 1.6.3) ale lipa - caly czas bledy .
Zmiana po prostu na serial (bez numerka) jest chyba, ok, niemniej pozostają takie błedy
Kod: Zaznacz cały
FrSkySPort.ino: In function 'void FrSkySPort_Init()':
FrSkySPort:21: error: 'UART0_C3' was not declared in this scope
FrSkySPort:22: error: 'UART0_C1' was not declared in this scope
FrSkySPort:23: error: 'UART0_S2' was not declared in this scope
FrSkySPort.ino: In function 'void FrSkySPort_SendPackage(uint16_t, uint32_t)':
FrSkySPort:161: error: 'UART0_C3' was not declared in this scope
Kod: Zaznacz cały
void FrSkySPort_Init(void) {
_FrSkySPort_Serial.begin(_FrSkySPort_BAUD);
_FrSkySPort_C3 = 0x10; // Tx invert
_FrSkySPort_C1= 0xA0; // Single wire mode
_FrSkySPort_S2 = 0x10; // Rx Invert
}