Adapted adafruit sample logger for my circuit