Advertisement
Guest User

Untitled

a guest
Feb 27th, 2012
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. #include "plugin.h"
  2. enum plugin_status plugin_start(const void* parameter)
  3. {
  4. (void)parameter;
  5. int a[2557][106][62];
  6. 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;
  7. 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;
  8. a[1][41][32]=1;a[1][42][29]=1;a[1][42][30]=1;a[1][42][31]=1;
  9. a[1][42][32]=1;a[1][43][27]=1;a[1][43][28]=1;a[1][43][29]=1;
  10. a[1][43][30]=1;a[1][43][50]=1;
  11.  
  12. int i1;int i2;int i3;
  13. i1=0;while(1)
  14. {
  15. i1++;
  16. if (i1==11)break;
  17. i2=0;
  18. while(1)
  19. {i2++;
  20. if(i2==105)break;
  21. i3=0;while(1)
  22. {
  23. i3++;if(i3==61)break;
  24. if (a[1][1][1]==1) //works
  25. //if (a[1][1][i3]==1) //doesnt work. displays a black screen and no pixels.
  26. {
  27. rb->lcd_drawpixel(20,i3);
  28. rb->lcd_update();
  29. rb->sleep(40);
  30. }
  31. }
  32. }
  33. }
  34. return PLUGIN_OK;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement