Skip to content

Commit b546636

Browse files
authored
change freq try
1 parent 6907b4b commit b546636

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

main.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,19 @@ namespace KittenRadio {
8282
//% blockID=radio_changeFreq block="Change frequency|%change"
8383
//% weight=60
8484
//% group="TEA5767"
85-
/*
85+
8686
export function change_frequency(change: number) {
87-
frequency += change
88-
87+
frequency = frequency+change
88+
/*
8989
if (change >= 0) {
9090
search_direction = 1
9191
} else {
9292
search_direction = 0
9393
}
94-
94+
*/
9595
update()
9696
}
97-
*/
97+
9898

9999
//% blockID=radio_search block="search|%mode|direction %dir|adc %adc"
100100
//% weight=60

0 commit comments

Comments
 (0)