Guest User

Untitled

a guest
Feb 27th, 2012
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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;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;
  7.  
  8. int i1;
  9. int i2;
  10. int i3;
  11. i1=0;while(1)
  12. {
  13. i1++;
  14. if (i1==11){break;}
  15. i2=0;while(1)
  16. {i2++;
  17. if(i2==105)break;
  18. i3=0;while(1)
  19. {
  20. i3++;if(i3==61)break;
  21. if (a[1][1][1]==1) //works
  22. //if (a[1][1][i3]==1) //doesnt work. just displays a black screen and no pixels.
  23. {
  24. rb->lcd_drawpixel(20,i3);
  25. rb->lcd_update();
  26. rb->sleep(40);
  27. }
  28. }
  29. }
  30. }
  31. return PLUGIN_OK;
  32. }
  33.  
  34.  
  35.  
  36. ~
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×