1
0
mirror of https://github.com/KostyaSha/arduino-iebus.git synced 2026-08-27 08:00:29 +00:00

Move one variant, create other for sniffing

This commit is contained in:
Kanstantsin Shautsou
2017-06-20 02:51:35 +03:00
parent c4aee10f3d
commit 94d0e5d3fe
23 changed files with 1838 additions and 0 deletions
@@ -0,0 +1,31 @@
#ifndef WProgram_h
#define WProgram_h
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <avr/interrupt.h>
#include "Arduino.h"
#ifdef __cplusplus
#ifndef BuffSerial_h
#include "HardwareSerial.h"
#endif
uint16_t makeWord(uint16_t w);
uint16_t makeWord(byte h, byte l);
#define word(...) makeWord(__VA_ARGS__)
unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);
// WMath prototypes
long random(long);
long random(long, long);
void randomSeed(unsigned int);
long map(long, long, long, long, long);
#endif
#endif