alles ums licht im Keller und Sommerschein
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
471 B

4 months ago
//
// OSCTiming.h
//
//
// Created by AdrianFreed on 11/10/13.
//
//
#ifndef ____OSCTiming__
#define ____OSCTiming__
#include "Arduino.h"
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
typedef struct
{
uint32_t seconds;
uint32_t fractionofseconds;
} osctime_t;
osctime_t oscTime();
int adcRead(int pin, osctime_t *t);
int capacitanceRead(int pin, osctime_t *t);
int inputRead(int pin, uint64_t *t);
#endif /* defined(____OSCTiming__) */