Fork of, triyin to rewrite for mbed 5. WIP not yet finished but working. ----------------------- An Open Sound Control library for the mbed, created to be compatible with Recotana's OSCClass library (http://recotana.com) for the Arduino with Ethernet shield. It also uses parts of the OSC Transceiver(Sender/Receiver) code by xshige written by: Alvaro Cassinelli, October 2011 tweaked by: Toby Harris / *spark audio-visual, March 2012

Committer:
Ibiltari
Date:
Thu Nov 04 12:41:38 2021 +0100
Revision:
19:35408d190f4e
Parent:
14:2148b54dfdbf
Update to mbed 6

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ibiltari 14:2148b54dfdbf 1 //
ibiltari 14:2148b54dfdbf 2 // OSCTiming.h
ibiltari 14:2148b54dfdbf 3 //
ibiltari 14:2148b54dfdbf 4 //
ibiltari 14:2148b54dfdbf 5 // Created by AdrianFreed on 11/10/13.
ibiltari 14:2148b54dfdbf 6 //
ibiltari 14:2148b54dfdbf 7 //
ibiltari 14:2148b54dfdbf 8
ibiltari 14:2148b54dfdbf 9 #ifndef ____OSCTiming__
ibiltari 14:2148b54dfdbf 10 #define ____OSCTiming__
ibiltari 14:2148b54dfdbf 11
ibiltari 14:2148b54dfdbf 12
ibiltari 14:2148b54dfdbf 13 #include "mbed.h"
ibiltari 14:2148b54dfdbf 14 #include <stdlib.h>
ibiltari 14:2148b54dfdbf 15 #include <stdint.h>
ibiltari 14:2148b54dfdbf 16 #include <inttypes.h>
ibiltari 14:2148b54dfdbf 17 typedef struct
ibiltari 14:2148b54dfdbf 18 {
ibiltari 14:2148b54dfdbf 19 uint32_t seconds;
ibiltari 14:2148b54dfdbf 20 uint32_t fractionofseconds;
ibiltari 14:2148b54dfdbf 21 } osctime_t;
ibiltari 14:2148b54dfdbf 22
ibiltari 14:2148b54dfdbf 23 osctime_t oscTime();
ibiltari 14:2148b54dfdbf 24
ibiltari 14:2148b54dfdbf 25
ibiltari 14:2148b54dfdbf 26
ibiltari 14:2148b54dfdbf 27 #endif /* defined(____OSCTiming__) */