cauqleuir madre

Dependencies:   SDFileSystem mbed TFTLCD

Files at this revision

API Documentation at this revision

Comitter:
Danton
Date:
Sat Feb 02 14:02:06 2013 +0000
Parent:
47:295031bba3c2
Child:
49:843dfe21b2c2
Commit message:
muted the blues boosted the reds

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Feb 02 13:57:41 2013 +0000
+++ b/main.cpp	Sat Feb 02 14:02:06 2013 +0000
@@ -32,7 +32,7 @@
     for(int i=0;i<sizeOfBuffer;i=i+4)
     {
         
-        colorBuffer[j]=RGB(buffer[i]|0xf0,buffer[i+1],buffer[i+2]);
+        colorBuffer[j]=RGB((buffer[i]<1)&0xff,buffer[i+1],(buffer[i+2]>1)&0xff);
         //colorBuffer[j]=((buffer[i]<<11)&0xf800)+((buffer[i+1]<<6)&0x7e0)+((buffer[i+2]>>3)&0x1F);
         //colorBuffer[j]=(0xff<<16)+(0x00<<8)+(0x00);
         //colorBuffer[j]=0xFFFFFF;