From fbea3ae42daade09ad42fe9ae9ca542f77b96c20 Mon Sep 17 00:00:00 2001 From: Alexander Kauerz Date: Thu, 9 Feb 2012 22:59:58 +0100 Subject: lolshield-matrix hinzu --- Matrix_9x14/libraries/Charliplexing/Figure.h | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Matrix_9x14/libraries/Charliplexing/Figure.h (limited to 'Matrix_9x14/libraries/Charliplexing/Figure.h') diff --git a/Matrix_9x14/libraries/Charliplexing/Figure.h b/Matrix_9x14/libraries/Charliplexing/Figure.h new file mode 100644 index 0000000..1b3f1fe --- /dev/null +++ b/Matrix_9x14/libraries/Charliplexing/Figure.h @@ -0,0 +1,42 @@ +/* + Figure drawing library + + Copyright 2009/2010 Benjamin Sonntag http://benjamin.sonntag.fr/ + + History: + 2010-01-01 - V0.0 Initial code at Berlin after 26C3 + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. +*/ + +#ifndef Figures_h +#define Figures_h + +#include + +namespace Figure +{ + +extern void Draw(int figure,int x,int y,int set=1); + +extern void Draw90(int figure,int x,int y,int set=1); + +extern void Scroll90(unsigned long value,uint8_t x=3); + +} + +#endif + -- cgit v1.2.3