¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: QRSS Arduino Shield Switches


Hans Summers
 


Hi Dale

In the sample sketch provided, two of the switches (S3, S4) set the speed:
                                         // Read the switches, to set the mode and speed
  mode = digitalRead(SWITCH1) + 2 * digitalRead(SWITCH2);
  ditSpeed = digitalRead(SWITCH3) + 2 * digitalRead(SWITCH4);
and refer to the speed array at the front of the sketch:
const unsigned int speeds[] = {1, 30, 60, 100};   // Speeds for: 12wpm, QRSS3, QRSS6, QRSS10
So?

Switch 3 off, Switch 4 off: 12wpm
Switch 3 on, switch 4 off: 3s dits
Switch 3 off, switch 4 on: 6s dits
Switch 3 on, switch 4 on: 10s dits

Similarly for mode:
#define MODE_NONE 0                      // Mode NONE means the Power Amplifier is disabled
#define MODE_QRSS 1                      // QRSS mode (i.e. ordinary CW)
#define MODE_FSKCW 2                     // FSK CW mode
#define MODE_DFCW 3                      // DFCW mode
So:

Switch 1 off, switch 2 off: OFF
Switch 1 on, switch 2 off: QRSS
Switch 1 off, switch 2 on: FSK/CW
Switch 1 on, switch 2 on: DFCW

73 Hans G0UPL



On Tue, Jun 4, 2013 at 8:53 PM, Dale <w0ir@...> wrote:
?

Can some on tell me what the switch setting should be on the QRSS Arduino Shield. I believe I should be running the board QRSS3.
Thanks Dale W0IR


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