fix arduino,add readme
This commit is contained in:
parent
e25d0bc44a
commit
8973995e53
327 changed files with 10032 additions and 10469 deletions
28
Arduino/epd1in02d/Debug.h
Normal file
28
Arduino/epd1in02d/Debug.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/*****************************************************************************
|
||||
* | File : Debug.h
|
||||
* | Author : Waveshare team
|
||||
* | Function : debug with prntf
|
||||
* | Info :
|
||||
* Image scanning
|
||||
* Please use progressive scanning to generate images or fonts
|
||||
*----------------
|
||||
* | This version: V1.0
|
||||
* | Date : 2018-01-11
|
||||
* | Info : Basic version
|
||||
*
|
||||
******************************************************************************/
|
||||
#ifndef __DEBUG_H
|
||||
#define __DEBUG_H
|
||||
|
||||
#include "stdio.h"
|
||||
|
||||
#define DEV_DEBUG 1
|
||||
#if DEV_DEBUG
|
||||
#define Debug(__info,...) printf("Debug : " __info,##__VA_ARGS__)
|
||||
#else
|
||||
#define DEBUG(__info,...)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue