From f77a5cac9ce681168bb38aef14bc7e4e2efcf47a Mon Sep 17 00:00:00 2001 From: mrcodetastic <12006953+mrcodetastic@users.noreply.github.com> Date: Mon, 29 Jul 2024 17:23:53 +0100 Subject: Make AuroraDemo great again. And test out ChatGPT's attempt to create some effects as well. --- examples/AuroraDemo/PatternTest.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 examples/AuroraDemo/PatternTest.hpp (limited to 'examples/AuroraDemo/PatternTest.hpp') diff --git a/examples/AuroraDemo/PatternTest.hpp b/examples/AuroraDemo/PatternTest.hpp new file mode 100644 index 0000000..7a4a07d --- /dev/null +++ b/examples/AuroraDemo/PatternTest.hpp @@ -0,0 +1,20 @@ + +#ifndef PatternTest_H +#define PatternTest_H + +class PatternTest : public Drawable { + private: + + public: + PatternTest() { + name = (char *)"Test Pattern"; + } + + unsigned int drawFrame() { + + matrix->fillScreen(matrix->color565(128, 0, 0)); + return 1000; + } +}; + +#endif -- cgit v1.3.1