mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-15 12:29:26 +01:00
18 lines
391 B
C
18 lines
391 B
C
/* %arduino_license% */
|
|
|
|
#ifndef _WIRING_MATH_
|
|
#define _WIRING_MATH_
|
|
|
|
extern long random( long ) ;
|
|
extern long random( long, long ) ;
|
|
extern void randomSeed( uint32_t dwSeed ) ;
|
|
extern long map( long, long, long, long, long ) ;
|
|
|
|
extern uint16_t makeWord( uint16_t w ) ;
|
|
extern uint16_t makeWord( uint8_t h, uint8_t l ) ;
|
|
|
|
#define word(...) makeWord(__VA_ARGS__)
|
|
|
|
|
|
#endif /* _WIRING_MATH_ */
|