update
This commit is contained in:
36
README.md
36
README.md
@@ -1,19 +1,41 @@
|
||||
# Micro PA50 controller
|
||||
|
||||
|
||||
set tx off;
|
||||
while (ptt is on || have input power ) {
|
||||
check freq;
|
||||
|
||||
|
||||
```
|
||||
set amp off;
|
||||
while () {
|
||||
if (ptt is on || have input power) {
|
||||
check temp;
|
||||
if (temp is more min) {
|
||||
set fan on;
|
||||
} else {
|
||||
set fan off;
|
||||
}
|
||||
if (temp is over) {
|
||||
show temp warning;
|
||||
continue;
|
||||
}
|
||||
check freq; // if auto?
|
||||
if freq in {
|
||||
set lpf for the freq if need;
|
||||
calc vswr;
|
||||
if (swr is good) {
|
||||
set tx on;
|
||||
calc power and vswr;
|
||||
if (vswr is good) {
|
||||
set amp on;
|
||||
} else {
|
||||
set amp off;
|
||||
show wrong swr;
|
||||
}
|
||||
if (power too hight) {
|
||||
set amp off immed;
|
||||
}
|
||||
} else {
|
||||
show wron freq;
|
||||
set tx off;
|
||||
set amp off;
|
||||
}
|
||||
} else {
|
||||
wait 100ms;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user