Skip to content

Commit

Permalink
Update and rename raduino_v1.27.6.ino to raduino_v1.27.7.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
amunters authored Jan 19, 2018
1 parent fa3ce13 commit 29c06cf
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions raduino_v1.27.6.ino → raduino_v1.27.7.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
Raduino_v1.27.6 for BITX40 - Allard Munters PE1NWL ([email protected])
Raduino_v1.27.7 for BITX40 - Allard Munters PE1NWL ([email protected])
This source file is under General Public License version 3.
Expand Down Expand Up @@ -2282,7 +2282,7 @@ void calibrate_touch_pads() {

void setup() {
u.raduino_version = 28;
strcpy (c, "Raduino v1.27.6");
strcpy (c, "Raduino v1.27.7");

lcd.begin(16, 2);

Expand Down Expand Up @@ -2327,11 +2327,6 @@ void setup() {
pinMode(PTT_SENSE, INPUT_PULLUP);
// check if PTT sense line is installed
PTTsense_installed = !digitalRead(PTT_SENSE);
pinMode(PTT_SENSE, INPUT); //disable the internal pull-up

// attach interrupt to the PTT_SENSE input
// when PTT_SENSE goes from LOW to HIGH (so when PTT is keyed), execute the ISRptt routine
attachPCINT(digitalPinToPCINT(PTT_SENSE), ISRptt, RISING);

printLine(0, c);
delay(1000);
Expand All @@ -2340,6 +2335,12 @@ void setup() {
EEPROM.get(0, u);

if (PTTsense_installed) {
pinMode(PTT_SENSE, INPUT); //disable the internal pull-up

// attach interrupt to the PTT_SENSE input
// when PTT_SENSE goes from LOW to HIGH (so when PTT is keyed), execute the ISRptt routine
attachPCINT(digitalPinToPCINT(PTT_SENSE), ISRptt, RISING);

calibrate_touch_pads(); // measure the base capacitance of the touch pads while they're not being touched
}

Expand Down

0 comments on commit 29c06cf

Please sign in to comment.