Skip to content
ATTiny85 code to blink the count of GNSS satellites in view from a NMEA stream
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
satellite-blink.ino

README.md

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;
}
}
You can’t perform that action at this time.