1
0
mirror of https://github.com/s00500/SimpleExpressions synced 2025-07-07 01:10:19 +00:00

Still memory issues

This commit is contained in:
2017-11-22 13:50:16 +01:00
parent f8795b892e
commit e3d6ae422b
4 changed files with 104 additions and 17 deletions

View File

@ -3,8 +3,8 @@
struct Frame
{
String name;
unsigned int data[7][3];
char name[20];
int data[7][3];
}
typedef Frame;
@ -12,7 +12,9 @@ typedef Frame;
//*********************************MOUTHS DEFINES************************************
//***********************************************************************************
const Frame shapes[] = {
#define shapeNumber 5 // add the current shape count here
// and don't make names longer than 20!
const PROGMEM Frame shapes[] = {
{
"zeros",
{
@ -26,7 +28,19 @@ const Frame shapes[] = {
}
},
{
"happySimple",
"happySmall",
{
{0,0,0},
{0,0,0},
{0,150,0},
{0,150,0},
{0,0,0},
{0,0,0},
{0,0,0},
}
},
{
"happyFull",
{
{0,0,0},
{0,150,0},
@ -36,7 +50,30 @@ const Frame shapes[] = {
{0,0,0},
{0,0,0},
}
}
},
{
"sadSmall",
{
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 150,0},
{0, 150,0},
}
},
{
"sadFull",
{
{0,0,0},
{0,150,0},
{0,0,0},
{0,0,0},
{0,150,0},
{0,150,0},
{0,150,0},
}
},
};
#endif