Update main.c

This commit is contained in:
Adam Loboda
2020-05-17 10:17:57 +02:00
committed by GitHub
parent a86b06c853
commit 00ae5080f3

7
main.c
View File

@@ -35,8 +35,9 @@ int main(void)
duration = 0;
// generating SQUARE WAVE for FS1000A DATA INPUT
// we send 20 sequences of 50 pulses different width ( from 50us to 1 ms )
// we send 50 sequences of 3 pulses different width ( from 50us to 2.5 ms )
// to generate enough distortion on 433 MHz frequency
// and get widest possible bandwith covered on spectrum
for(sequence=1; sequence<50; sequence++)
{
@@ -47,7 +48,7 @@ int main(void)
FS1000A_DATA_HIGH(); // bring DATA PIN up
// starting from 300usec Pulses
// starting from 50usec width Pulses
for(widthsize=1; widthsize<=(1+sequence); widthsize++)
{
// Generated by delay loop calculator
@@ -65,7 +66,7 @@ int main(void)
FS1000A_DATA_LOW(); // drag DATA PIN down
// starting from 300usec Pulses
// starting from 50usec Pulses
for(widthsize=1; widthsize<=(1+sequence); widthsize++)
{
// Generated by delay loop calculator