mirror of https://github.com/F5OEO/rpitx
Correct timing 1 pulse every second
This commit is contained in:
parent
d20e9d6676
commit
f06cd74efa
|
|
@ -207,12 +207,15 @@ void modulate(byte b)
|
||||||
|
|
||||||
if (b == 0)
|
if (b == 0)
|
||||||
{
|
{
|
||||||
playtone(32767,100000000);
|
|
||||||
|
playtone(0,100000000);
|
||||||
|
playtone(32767,900000000);
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
playtone(32767/4,200000000);
|
playtone(0,200000000);
|
||||||
|
playtone(32767,900000000);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue