test.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*****************************************************************************
  2. * | File : test.h
  3. * | Author : Waveshare team
  4. * | Function :
  5. * | Info :
  6. *
  7. *----------------
  8. * | This version: V1.0
  9. * | Date : 2020-08-13
  10. * | Info : Basic version
  11. #
  12. # Permission is hereby granted, free of charge, to any person obtaining a copy
  13. # of this software and associated documnetation files (the "Software"), to deal
  14. # in the Software without restriction, including without limitation the rights
  15. # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  16. # copies of the Software, and to permit persons to whom the Software is
  17. # furished to do so, subject to the following conditions:
  18. #
  19. # The above copyright notice and this permission notice shall be included in
  20. # all copies or substantial portions of the Software.
  21. #
  22. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  23. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  24. # FITNESS OR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  25. # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  26. # LIABILITY WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  27. # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  28. # THE SOFTWARE.
  29. #
  30. ******************************************************************************/
  31. #ifndef _TEST_H_
  32. #define _TEST_H_
  33. #include "DEV_Config.h"
  34. #include "GUI_Paint.h"
  35. #include "GUI_BMPfile.h"
  36. #include "Debug.h"
  37. #include <stdlib.h> // malloc() free()
  38. #include <math.h>
  39. int OLED_0in49_test(void);
  40. int OLED_0in91_test(void);
  41. int OLED_0in95_rgb_test(void);
  42. int OLED_0in96_test(void);
  43. int OLED_0in96_rgb_test(void);
  44. int OLED_1in27_rgb_test(void);
  45. int OLED_1in3_test(void);
  46. int OLED_1in3_c_test(void);
  47. int OLED_1in32_test(void);
  48. int OLED_1in5_test(void);
  49. int OLED_1in5_b_test(void);
  50. int OLED_1in5_rgb_test(void);
  51. int OLED_1in51_test(void);
  52. int OLED_1in54_test(void);
  53. int OLED_2in42_test(void);
  54. #endif