Newer
Older
esp8266-door / lib / pubsubclient / tests / src / lib / Arduino.h
@zhang zhang on 18 Oct 2018 371 bytes initial version
#ifndef Arduino_h
#define Arduino_h

#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>


extern "C"{
    typedef uint8_t byte ;
    typedef uint8_t boolean ;

    /* sketch */
    extern void setup( void ) ;
    extern void loop( void ) ;
    uint32_t millis( void );
}

#define PROGMEM
#define pgm_read_byte_near(x) *(x)

#endif // Arduino_h