Explorar el Código

Include Arduino.h (for pre-compiled header speedup)

main
PaulStoffregen hace 6 años
padre
commit
877a05eb59
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. +2
    -0
      Wire.cpp
  2. +1
    -1
      Wire.h

+ 2
- 0
Wire.cpp Ver fichero

Modified 2012 by Todd Krein (todd@krein.org) to implement repeated starts Modified 2012 by Todd Krein (todd@krein.org) to implement repeated starts
*/ */


#include <Arduino.h>

#if defined(__AVR__) #if defined(__AVR__)


#include "Wire.h" #include "Wire.h"

+ 1
- 1
Wire.h Ver fichero

#elif defined(__AVR__) #elif defined(__AVR__)


#include <inttypes.h> #include <inttypes.h>
#include "Arduino.h"
#include <Arduino.h>


#define BUFFER_LENGTH 32 #define BUFFER_LENGTH 32
#define WIRE_HAS_END 1 #define WIRE_HAS_END 1

Cargando…
Cancelar
Guardar