Jump to content
ELFORUM - Forumul Electronistilor

aetius

Membru activ
  • Content Count

    183
  • Joined

  • Last visited

Community Reputation

28 core_reputation_level_4

About aetius

  • Rank
    alerg dupa electronii

core_pfieldgroups_2

  • core_pfield_6
    Bucuresti

core_pfieldgroups_1

  • core_pfield_8
    aetiius

Recent Profile Visitors

519 profile views
  1. Cezar imi cer scuze, ca iti stric "bucuria"...dar a fost altcineva mai rapid. O simpla cautare pe gogu "Felix the Cat videos". Scuze de offtopic.
  2. Va salut si va multumesc @gsabac. Glcd l-am primit cadou de MosCraciun , si variantele de afisare folosite la "sursa cu pic" mi s-au parut mici ca cifre. La afisare text sau desen este ok ,dar la citire adc apare acel flicker ...am incercat diferite variante de remediere dar nu am reusit, ori la cautarea cu gogu nu am avut noroc. Multumesc. P.S. Codul a mai suferit ceva modificari , nu sunt linga calculator sa-l postez.
  3. // Glcd module connections char GLCD_DataPort at PORTB; sbit GLCD_CS1 at RC5_bit; sbit GLCD_CS2 at RC4_bit; sbit GLCD_RS at RC3_bit; sbit GLCD_RW at RC2_bit; sbit GLCD_EN at RC1_bit; sbit GLCD_RST at RC0_bit; sbit GLCD_CS1_Direction at TRISC5_bit; sbit GLCD_CS2_Direction at TRISC4_bit; sbit GLCD_RS_Direction at TRISC3_bit; sbit GLCD_RW_Direction at TRISC2_bit; sbit GLCD_EN_Direction at TRISC1_bit; sbit GLCD_RST_Direction at TRISC0_bit; // End Glcd module connections unsigned long TensADC; unsigned long V,V1; const unsigned short Tahoma31x44[] = { 0x00, 0x00, 0x2F,0x00, 0x39,0x00, 0x2C, 0x00, 0x1F,0x34,0x00,0x00, 0x1D,0xE4,0x00,0x00, 0x1C,0x94,0x01,0x00, 0x1E,0x44,0x02,0x00, 0x1D,0xF4,0x02,0x00, 0x1E,0xA4,0x03,0x00, 0x1D,0x54,0x04,0x00, 0x1D,0x04,0x05,0x00, 0x1D,0xB4,0x05,0x00, 0x1E,0x64,0x06,0x00, 0x1D,0x14,0x07,0x00, 0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F,0xFF,0xFF,0xFF,0x7F, // Code for char num 47 0x00,0xF8,0x0F,0x00,0x00,0xFE,0x3F,0x00,0x80,0xFF,0xFF,0x00,0xC0,0xFF,0xFF,0x01,0xE0,0xFF,0xFF,0x03,0xE0,0xFF,0xFF,0x03,0xF0,0x3F,0xFE,0x07,0xF0,0x1F,0xFC,0x07,0xF8,0x0F,0xF8,0x0F,0xF8,0x0F,0xF8,0x0F,0xF8,0x0F,0xF8,0x0F,0xF8,0x07,0xF0,0x0F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xF8,0x07,0xF0,0x0F,0xF8,0x0F,0xF8,0x0F,0xF8,0x0F,0xF8,0x0F,0xF8,0x0F,0xF8,0x0F,0xF0,0x1F,0xFC,0x07,0xF0,0x3F,0xFE,0x07,0xE0,0xFF,0xFF,0x03,0xE0,0xFF,0xFF,0x03,0xC0,0xFF,0xFF,0x01,0x80,0xFF,0xFF,0x00,0x00,0xFE,0x3F,0x00,0x00,0xF8,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // Code for char num 48 0x00,0x00,0x00,0x00,0x00,0xE0,0x1F,0x00,0x00,0xE0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF8,0x1F,0x00,0x00,0xFE,0x1F,0x00,0xE0,0xFF,0x1F,0x00,0xE0,0xFF,0x1F,0x00,0xE0,0xFF,0x1F,0x00,0xE0,0xFF,0x1F,0x00,0xE0,0xFF,0x1F,0x00,0xE0,0xFF,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0xE0,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // Code for char num 49 0x00,0xF8,0x0F,0x00,0x80,0xFF,0x7F,0x00,0xE0,0xFF,0xFF,0x00,0xE0,0xFF,0xFF,0x01,0xE0,0xFF,0xFF,0x03,0xE0,0xFF,0xFF,0x07,0xE0,0xFF,0xFF,0x07,0xE0,0x07,0xFF,0x0F,0xE0,0x00,0xFC,0x0F,0x20,0x00,0xFC,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xFC,0x07,0x00,0x00,0xFC,0x07,0x00,0x00,0xFE,0x03,0x00,0x00,0xFE,0x03,0x00,0x00,0xFF,0x01,0x00,0x80,0xFF,0x01,0x00,0xC0,0xFF,0x00,0x00,0xE0,0x7F,0x00,0x00,0xF0,0x3F,0x00,0x00,0xF8,0x1F,0x00,0x00,0xFC,0x0F,0x00,0x00,0xFE,0x07,0x00,0x00,0xFF,0x03,0x00,0x80,0xFF,0x01,0x00,0xC0,0x7F,0x00,0x00,0xF0,0xFF,0xFF,0x3F,0xF0,0xFF,0xFF,0x3F,0xF0,0xFF,0xFF,0x3F,0xF0,0xFF,0xFF,0x3F,0xF0,0xFF,0xFF,0x3F,0xF0,0xFF,0xFF,0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // Code for char num 50 0x00,0xFE,0x0F,0x00,0xE0,0xFF,0x7F,0x00,0xF8,0xFF,0xFF,0x01,0xF8,0xFF,0xFF,0x03,0xF8,0xFF,0xFF,0x07,0xF8,0xFF,0xFF,0x07,0xF8,0xFF,0xFF,0x0F,0xF8,0x03,0xFE,0x0F,0x78,0x00,0xFC,0x0F,0x18,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x07,0x00,0x00,0xFC,0x07,0x00,0x00,0xFF,0x03,0x00,0xFC,0xFF,0x01,0x00,0xFC,0xFF,0x00,0x00,0xFC,0x3F,0x00,0x00,0xFC,0xFF,0x00,0x00,0xFC,0xFF,0x03,0x00,0xFC,0xFF,0x07,0x00,0x00,0xFE,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x0C,0x00,0xF8,0x1F,0x3C,0x00,0xF8,0x1F,0xFC,0x01,0xFE,0x0F,0xFC,0xFF,0xFF,0x0F,0xFC,0xFF,0xFF,0x07,0xFC,0xFF,0xFF,0x07,0xFC,0xFF,0xFF,0x03,0xFC,0xFF,0xFF,0x00,0xF0,0xFF,0x3F,0x00,0x00,0xFF,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // Code for char num 51 0x00,0x00,0x00,0x00,0x00,0x80,0xFF,0x01,0x00,0x80,0xFF,0x01,0x00,0xC0,0xFF,0x01,0x00,0xE0,0xFF,0x01,0x00,0xE0,0xFF,0x01,0x00,0xF0,0xFF,0x01,0x00,0xF8,0xFF,0x01,0x00,0xFC,0xFF,0x01,0x00,0xFC,0xFF,0x01,0x00,0x7E,0xFF,0x01,0x00,0x3F,0xFF,0x01,0x00,0x1F,0xFF,0x01,0x80,0x1F,0xFF,0x01,0xC0,0x0F,0xFF,0x01,0xE0,0x07,0xFF,0x01,0xE0,0x07,0xFF,0x01,0xF0,0x03,0xFF,0x01,0xF8,0x01,0xFF,0x01,0xF8,0x01,0xFF,0x01,0xFC,0x00,0xFF,0x01,0x7E,0x00,0xFF,0x01,0xFE,0xFF,0xFF,0x3F,0xFE,0xFF,0xFF,0x3F,0xFE,0xFF,0xFF,0x3F,0xFE,0xFF,0xFF,0x3F,0xFE,0xFF,0xFF,0x3F,0xFE,0xFF,0xFF,0x3F,0x00,0x00,0xFF,0x01,0x00,0x00,0xFF,0x01,0x00,0x00,0xFF,0x01,0x00,0x00,0xFF,0x01,0x00,0x00,0xFF,0x01,0x00,0x00,0xFF,0x01,0x00,0x00,0xFF,0x01,0x00,0x00,0xFF,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // Code for char num 52 0x00,0x00,0x00,0x00,0xE0,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x0F,0xE0,0xFF,0xFF,0x0F,0xE0,0x1F,0x00,0x00,0xE0,0x1F,0x00,0x00,0xE0,0x1F,0x00,0x00,0xE0,0x1F,0x00,0x00,0xE0,0x1F,0x00,0x00,0xE0,0x1F,0x00,0x00,0xE0,0xFF,0x1F,0x00,0xE0,0xFF,0xFF,0x00,0xE0,0xFF,0xFF,0x01,0xE0,0xFF,0xFF,0x03,0xE0,0xFF,0xFF,0x07,0xE0,0xFF,0xFF,0x0F,0xE0,0x00,0xFE,0x0F,0x00,0x00,0xFC,0x1F,0x00,0x00,0xF8,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF0,0x1F,0x18,0x00,0xF8,0x1F,0x78,0x00,0xFC,0x0F,0xF8,0x01,0xFF,0x0F,0xF8,0xFF,0xFF,0x07,0xF8,0xFF,0xFF,0x07,0xF8,0xFF,0xFF,0x03,0xF8,0xFF,0xFF,0x01,0xF8,0xFF,0xFF,0x00,0xE0,0xFF,0x3F,0x00,0x00,0xFE,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // Code for char num 53 0x00,0x80,0xFF,0x03,0x00,0xF0,0xFF,0x03,0x00,0xFC,0xFF,0x03,0x00,0xFF,0xFF,0x03,0x80,0xFF,0xFF,0x03,0xC0,0xFF,0xFF,0x03,0xC0,0xFF,0x01,0x03,0xE0,0x7F,0x00,0x00,0xF0,0x3F,0x00,0x00,0xF0,0x1F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x87,0x3F,0x00,0xFC,0xE7,0xFF,0x00,0xFC,0xFF,0xFF,0x03,0xFC,0xFF,0xFF,0x07,0xFC,0xFF,0xFF,0x07,0xFC,0xFF,0xFF,0x0F,0xFC,0x0F,0xFE,0x0F,0xFC,0x07,0xF8,0x1F,0xFC,0x07,0xF8,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xF8,0x07,0xF0,0x1F,0xF8,0x0F,0xF0,0x1F,0xF8,0x0F,0xF8,0x0F,0xF0,0x1F,0xF8,0x0F,0xF0,0x3F,0xFC,0x0F,0xE0,0xFF,0xFF,0x07,0xE0,0xFF,0xFF,0x03,0xC0,0xFF,0xFF,0x01,0x80,0xFF,0xFF,0x00,0x00,0xFE,0x7F,0x00,0x00,0xF0,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // Code for char num 54 0x00,0x00,0x00,0x00,0xF8,0xFF,0xFF,0x1F,0xF8,0xFF,0xFF,0x1F,0xF8,0xFF,0xFF,0x1F,0xF8,0xFF,0xFF,0x1F,0xF8,0xFF,0xFF,0x1F,0xF8,0xFF,0xFF,0x1F,0x00,0x00,0xF8,0x1F,0x00,0x00,0xFC,0x0F,0x00,0x00,0xFC,0x0F,0x00,0x00,0xFE,0x07,0x00,0x00,0xFE,0x07,0x00,0x00,0xFF,0x03,0x00,0x00,0xFF,0x03,0x00,0x80,0xFF,0x01,0x00,0x80,0xFF,0x01,0x00,0xC0,0xFF,0x00,0x00,0xC0,0xFF,0x00,0x00,0xE0,0x7F,0x00,0x00,0xE0,0x7F,0x00,0x00,0xF0,0x3F,0x00,0x00,0xF0,0x3F,0x00,0x00,0xF8,0x1F,0x00,0x00,0xFC,0x1F,0x00,0x00,0xFC,0x0F,0x00,0x00,0xFE,0x0F,0x00,0x00,0xFE,0x07,0x00,0x00,0xFF,0x07,0x00,0x00,0xFF,0x03,0x00,0x80,0xFF,0x03,0x00,0x80,0xFF,0x01,0x00,0xC0,0xFF,0x00,0x00,0xC0,0xFF,0x00,0x00,0xE0,0x7F,0x00,0x00,0xE0,0x7F,0x00,0x00,0xF0,0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // Code for char num 55 0x00,0xF8,0x1F,0x00,0x00,0xFF,0xFF,0x00,0xC0,0xFF,0xFF,0x01,0xE0,0xFF,0xFF,0x07,0xF0,0xFF,0xFF,0x0F,0xF8,0xFF,0xFF,0x0F,0xF8,0x1F,0xFC,0x1F,0xFC,0x0F,0xF8,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x0F,0xF0,0x1F,0xFC,0x1F,0xF0,0x0F,0xF8,0x7F,0xF8,0x07,0xF8,0xFF,0xFD,0x07,0xF0,0xFF,0xFF,0x01,0xE0,0xFF,0xFF,0x00,0x80,0xFF,0xFF,0x00,0x80,0xFF,0xFF,0x03,0xE0,0xFF,0xFF,0x07,0xF0,0xEF,0xFF,0x0F,0xF8,0x07,0xFF,0x1F,0xFC,0x07,0xFC,0x1F,0xFC,0x03,0xF0,0x3F,0xFE,0x03,0xE0,0x3F,0xFE,0x03,0xE0,0x3F,0xFE,0x03,0xE0,0x3F,0xFE,0x03,0xE0,0x3F,0xFE,0x07,0xE0,0x3F,0xFE,0x0F,0xF0,0x1F,0xFC,0x1F,0xFC,0x1F,0xFC,0xFF,0xFF,0x0F,0xF8,0xFF,0xFF,0x0F,0xF0,0xFF,0xFF,0x07,0xE0,0xFF,0xFF,0x01,0x80,0xFF,0xFF,0x00,0x00,0xFC,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // Code for char num 56 0x00,0xF8,0x0F,0x00,0x00,0xFE,0x3F,0x00,0x80,0xFF,0xFF,0x00,0xC0,0xFF,0xFF,0x01,0xE0,0xFF,0xFF,0x03,0xF0,0xFF,0xFF,0x03,0xF8,0x1F,0xFE,0x07,0xF8,0x0F,0xFC,0x0F,0xF8,0x0F,0xF8,0x0F,0xFC,0x07,0xF8,0x0F,0xFC,0x07,0xF0,0x0F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x07,0xF0,0x1F,0xFC,0x0F,0xF0,0x1F,0xFC,0x0F,0xF0,0x1F,0xF8,0x3F,0xF8,0x1F,0xF8,0xFF,0xFF,0x1F,0xF0,0xFF,0xFF,0x1F,0xF0,0xFF,0xFF,0x1F,0xE0,0xFF,0xFF,0x1F,0x80,0xFF,0xF3,0x0F,0x00,0xFE,0xF0,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x0F,0x00,0x00,0xF8,0x07,0x00,0x00,0xFC,0x07,0x00,0x00,0xFE,0x07,0x00,0x00,0xFF,0x03,0x60,0xC0,0xFF,0x01,0xE0,0xFF,0xFF,0x01,0xE0,0xFF,0xFF,0x00,0xE0,0xFF,0x3F,0x00,0xE0,0xFF,0x1F,0x00,0xE0,0xFF,0x07,0x00,0xE0,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 // Code for char num 57 }; void main() { ADCON0 = 0b00000101; ADCON1 = 0b00001110; PORTA = 0b00001111; // bitii 0 si 1 si 3 ai portului A sunt intrari analogice. TRISA = 0b00001111; PORTB = 0; TRISB = 0; TRISC = 0; PORTC = 0; CMCON = 0b00000111; CVRCON = 0; Glcd_Init(); ADC_Init(); Glcd_Fill(0x00); while(1) { TensADC = ADC_Read(0); V = (long)TensADC*5000; V = V/1023; if((V/1000)%10 > (V1/1000)%10) { Glcd_Set_Font_Adv(&Tahoma31x44, 0,0); Glcd_Write_Char_Adv(47, 5, 22); Glcd_Write_Char_Adv(47, 35, 22); Glcd_Set_Font_Adv(&Tahoma31x44, 1,0); Glcd_Write_Char_Adv(V/1000 + 48, 5, 22); } else { Glcd_Set_Font_Adv(&Tahoma31x44, 1,0); Glcd_Write_Char_Adv(V/1000 + 48, 5, 22); } if((V/100)%10 > (V1/100)%10) { Glcd_Set_Font_Adv(&Tahoma31x44, 0,0); Glcd_Write_Char_Adv(47, 35, 22); Glcd_Set_Font_Adv(&Tahoma31x44, 1,0); Glcd_Write_Char_Adv((V/100)%10 + 48, 35, 22); } else { Glcd_Set_Font_Adv(&Tahoma31x44, 1,0); Glcd_Write_Char_Adv((V/100)%10 + 48, 35, 22); } Glcd_Set_Font_Adv(&Tahoma31x44, 0,0); Glcd_Write_Char_Adv(47, 65, 22); Glcd_Set_Font_Adv(&Tahoma31x44, 1,0); Glcd_Write_Char_Adv((V%10)+ 48, 65, 22); Glcd_Fill(0x00); //Delay_ms(5); V1 = V; } } //end Buna seara, Incerc in jurul acestui glcd s-a construiesc pentru sursa cu pic ,un voltmetru/ampermetru…(avantaj cifre mai mari). Dar intampin o problema cifrele flickeresc si exista o perioada de timp destul de mare pina ,arata valoarea citita ... Codul este luat de pe net...aveti atasat simularea in proteus si hex-ul. Multumesc pentru citire ,orice ideeie si exemplu sunt binevenite. New Project.pdsprj Interfacing GLCD with PIC Microcontroller MikroC.hex
  4. aetius

    128x64

    Va salut. Pentru scop didactic, caut s-a cumpar un (1 bucata) GLCD 128x64 cu controller KS0108. Preferabil din Bucuresti. Multumesc de citire.
  5. @sesebe credeai ca totul e gratis ? Stai linistit...vrei s-a fure capitalistii vreo ideeie si s-a o aplice la vreun Icom,Yaesu...
  6. Targ Vitan... Magazin piese frigotehnice...
  7. NeaTraianB la bani de-o antena ,cate cutii de pioneze imi iau imi fac mama antenei...(un pamflet).
  8. Eu cobor din tren...drum bun celor care merg mai departe.
  9. "In montajul din schema, banda de trecere e de cca 5Mhz la frecventa centrala de 160Mhz." Cu ce s-a masurat ?
  10. Se mai fac "spirale" anu acesta... Poate inteleg si eu "reflectatele"... Sau cu scuzele de rigoare ,cred ca ma retrag undeva mai sus de Piata Sudului la un loc cu liniste ...pe mine unul ma depaseste. Sau o fi de la galeata "Danke" ??? Multumesc.
  11. RST o intrebare ... Legatura de mai jos confirmata prin QSL ce este ? Si acum mai pastrez legatura cu respectivul si chiar incercam diferite experimente cand avem timp...
  12. @Cezar...degeaba tot cu "muci-n fasole va da"...degeaba explici ca antena face totul.
  13. S-a inteleg din ce am citit ,ca am mancat degeaba floricelele ,dar noroc cu berea...multumesc de "show"...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.