mirror of
https://github.com/mcore1976/jammer.git
synced 2026-02-20 01:41:31 +01:00
Update main.c
This commit is contained in:
7
main.c
7
main.c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user