unify pin naming scheme

This commit is contained in:
Morgan Redfield
2019-03-15 10:43:15 -07:00
parent 9d708e4046
commit 3c3d83c057
19 changed files with 73 additions and 73 deletions

View File

@@ -25,7 +25,7 @@ char CALLSIGN[] = "1ZZ9ZZ/B";
#include <HamShield.h>
#include <PCM.h>
#define PWM_PIN 3
#define MIC_PIN 3
#define RESET_PIN A3
#define SWITCH_PIN 2
@@ -90,8 +90,8 @@ const unsigned char dbm[] PROGMEM = {
void setup() {
// NOTE: if not using PWM out, it should be held low to avoid tx noise
pinMode(PWM_PIN, OUTPUT);
digitalWrite(PWM_PIN, LOW);
pinMode(MIC_PIN, OUTPUT);
digitalWrite(MIC_PIN, LOW);
// prep the switch
pinMode(SWITCH_PIN, INPUT_PULLUP);