My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

WProgram.h 689B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef WProgram_h
  2. #define WProgram_h
  3. #include <stdlib.h>
  4. #include <string.h>
  5. #include <math.h>
  6. #include <avr/interrupt.h>
  7. #include "wiring.h"
  8. #ifdef __cplusplus
  9. #include "WCharacter.h"
  10. #include "WString.h"
  11. #include "HardwareSerial.h"
  12. uint16_t makeWord(uint16_t w);
  13. uint16_t makeWord(byte h, byte l);
  14. #define word(...) makeWord(__VA_ARGS__)
  15. unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);
  16. void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0);
  17. void noTone(uint8_t _pin);
  18. // WMath prototypes
  19. long random(long);
  20. long random(long, long);
  21. void randomSeed(unsigned int);
  22. long map(long, long, long, long, long);
  23. #endif
  24. #endif