kopia lustrzana https://github.com/amedes/pico_tnc
fixed PWM pin No. and PTT pin No.
rodzic
cee207438d
commit
7dc4bf8e45
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2021, Kazuhisa Yokota, JN1DFF
|
Copyright (c) 2021, JN1DFF
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -48,26 +48,15 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include "wave_table_132mhz.h"
|
#include "wave_table_132mhz.h"
|
||||||
|
|
||||||
static const int pwm_pins[] = {
|
static const int pwm_pins[] = {
|
||||||
14, // port 0
|
10, // port 0
|
||||||
12,
|
8, // port 1
|
||||||
10,
|
6, // port 2
|
||||||
8,
|
|
||||||
6,
|
|
||||||
4,
|
|
||||||
2,
|
|
||||||
0
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int ptt_pins[] = {
|
static const int ptt_pins[] = {
|
||||||
//PICO_DEFAULT_LED_PIN
|
11, // port 0
|
||||||
15, // port 0
|
9, // port 1
|
||||||
13,
|
7, // port 2
|
||||||
11,
|
|
||||||
9,
|
|
||||||
7,
|
|
||||||
5,
|
|
||||||
3,
|
|
||||||
1
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define LED_PIN PICO_DEFAULT_LED_PIN
|
#define LED_PIN PICO_DEFAULT_LED_PIN
|
||||||
|
|
Ładowanie…
Reference in New Issue