کد:// Allows us to fill the first 8 CGRAM locations // with custom characters void LiquidCrystal::createChar(uint8_t location, uint8_t charmap[]) { location &= 0x7; // we only have 8 locations 0-7 command(LCD_SETCGRAMADDR | (location << 3)); for (int i=0; i<8; i++) { write(charmap[i]); } }
// we only have 8 locations 0-7
پس باید یه Graphic LCD بخرم


4 لایک
LinkBack URL
About LinkBacks



پاسخ با نقل قول