Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "plugin.h"
- enum plugin_status plugin_start(const void* parameter)
- {
- (void)parameter;
- int a[2557][106][62];
- a[1][1][1]=1;a[1][1][2]=1;a[1][1][3]=1;a[1][1][4]=1;a[1][1][5]=1;
- a[1][1][6]=1;a[1][1][7]=1;a[1][1][8]=1;a[1][1][9]=1;a[1][41][31]=1;
- a[1][41][32]=1;a[1][42][29]=1;a[1][42][30]=1;a[1][42][31]=1;
- a[1][42][32]=1;a[1][43][27]=1;a[1][43][28]=1;a[1][43][29]=1;
- a[1][43][30]=1;a[1][43][50]=1;
- int i1;int i2;int i3;
- i1=0;while(1)
- {
- i1++;
- if (i1==11)break;
- i2=0;
- while(1)
- {i2++;
- if(i2==105)break;
- i3=0;while(1)
- {
- i3++;if(i3==61)break;
- if (a[1][1][1]==1) //works
- //if (a[1][1][i3]==1) //doesnt work. displays a black screen and no pixels.
- {
- rb->lcd_drawpixel(20,i3);
- rb->lcd_update();
- rb->sleep(40);
- }
- }
- }
- }
- return PLUGIN_OK;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement