¿ªÔÆÌåÓý

Re: swr_bridge.ino


 

Hi all,
Thanks for all the messages regarding the swr bridge in the DE.
I've installed the hardware according the the notes from KE8KYP Scott to the letter but I'm having trouble with the Arduino IDE, 2.1.0. (I tried installing 1.8.19 but the Board Manager option doesn't work on Windows 10.) I've added the ATTinyCore as suggested by Steve N3SB but the swr_bridge.ino will not compile. Here are the error messages:
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:54:9: error: redefinition of 'int16_t fwd'
?int16_t fwd, ref;
???????? ^~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:16:9: note: 'int16_t fwd' previously declared here
?int16_t fwd, ref;
???????? ^~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:54:14: error: redefinition of 'int16_t ref'
?int16_t fwd, ref;
????????????? ^~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:16:14: note: 'int16_t ref' previously declared here
?int16_t fwd, ref;
????????????? ^~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:55:15: error: redefinition of 'byte message [4]'
?byte message[4], flag;
?????????????? ^
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:17:6: note: 'byte message [4]' previously declared here
?byte message[4], flag;
????? ^~~~~~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:55:18: error: redefinition of 'byte flag'
?byte message[4], flag;
????????????????? ^~~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:17:18: note: 'byte flag' previously declared here
?byte message[4], flag;
????????????????? ^~~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino: In function 'void requestEvent()':
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:59:6: error: redefinition of 'void requestEvent()'
?void requestEvent() {
????? ^~~~~~~~~~~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:21:6: note: 'void requestEvent()' previously defined here
?void requestEvent() {
????? ^~~~~~~~~~~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino: In function 'void setup()':
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:63:6: error: redefinition of 'void setup()'
?void setup() {
????? ^~~~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:25:6: note: 'void setup()' previously defined here
?void setup() {
????? ^~~~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino: In function 'void loop()':
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:68:6: error: redefinition of 'void loop()'
?void loop() {
????? ^~~~
E:\Libraries\Documents\Arduino\swr_bridge\swr_bridge.ino:30:6: note: 'void loop()' previously defined here
?void loop() {
????? ^~~~

exit status 1

Compilation error: redefinition of 'int16_t fwd'

Suggestions?
Jack, N6LN

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