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

@@ -16,7 +16,7 @@
#define DDS_REFCLK_DEFAULT 9600
#include <HamShield.h>
#define PWM_PIN 3
#define MIC_PIN 3
#define RESET_PIN A3
#define SWITCH_PIN 2
@@ -25,8 +25,8 @@ HamShield radio;
// Run our start up things here
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);