Home › Forums › Mayfly Data Logger › Bringing in serial data through UART on 20-Pin connector › Reply To: Bringing in serial data through UART on 20-Pin connector
2020-06-11 at 5:41 PM #14193
OK, I got it to work. The original sketch called for use of SoftwareSerial, and I replaced this with Serial1, and I realized that if I use Serial1, I don’t have to designate the pin numbers. Got the Airmar plugged into the correct pins (A7 and A8), and voila, data coming in! Now my next task is to figure out how to log the 1Hz data to a buffer of some kind and do some averaging before writing to file. Any recommendations welcome! Thanks again!