Skip to content

Instantly share code, notes, and snippets.

const uint8_t pin = A0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(pin, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
; /etc/ptpd.conf
; ==============================================================================
; This is a recommended configuration for a PTPv2 slave
; For a full list of options run ptpd2 -H or see the documentation and man pages
; ==============================================================================
; interface has to be specified (see with ifconfig)
ptpengine:interface=enp6s0
; PTP domain