Skip to content

ATTiny85 code to blink the count of GNSS satellites in view from a NMEA stream

License

Notifications You must be signed in to change notification settings

ptudor/satellite-blink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

satellite-blink

ATTiny85 code to blink the count of GNSS satellites in view from a NMEA stream

Used in my PA6H GPS for APRS available on Tindie.

Requires TinyGPS++ Library.

TinyGPS++

Downloads Documentation

Tune Oscillator

// http://forum.arduino.cc/index.php?topic=153034.15

#include <SoftwareSerial.h>

SoftwareSerial mySerial(1,2); // RX, TX

void setup()  
{
  mySerial.begin(9600);
  mySerial.println("Hello, world?");
  //OSCCAL = 0x5A;
}

void loop() // run over and over
{
char dir = 1;
int d = 0;
while (1) {
  OSCCAL += dir;
  d = OSCCAL;
  mySerial.print("\nThis is SoftwareSerial with OSCCAL=");
  mySerial.println(d);
  delay(300);
  if (OSCCAL == 0) dir = 1;
  if (OSCCAL == 255) dir = -1;
}
}

About

ATTiny85 code to blink the count of GNSS satellites in view from a NMEA stream

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%