I am making lookup table for all alphabets(to be stored in flash memory) and making an array of 26x8 (26 alphabets and 8 hex code per alphabet for 8x8 alphabet on screen) . As we know pixel will get coloured there, where the value of pixel is high (in lookup table) and will remain of back ground color where value is low. So now my doubt is that by pgm_read_byte function, we are able to read lookup table at byte level (like 0xf0) but i want it to read at the bit level (1,1,1,1,0,0,0,0) , only then the pixel will be given the corresponding color value. So how will I do it? one possible method is by creating lookup table for all alphabet in form of 0 and 1 but that will be too lengthy for all characters.My aim is to display any string of user choice on tft screen 7inch (ssd1963 uC with atmega128). Please help for the sake of this discussion platform of avr freaks. thanks in advance as well!
Last Edited: Tue. Jul 12, 2016 - 08:20 AM