Entrar    Registrar

ajuda dsPIC33EP + GLCD

Software e Hardware para DSP

Moderadores: joao, guest2003, 51

  • Autor
    Mensagem

ajuda dsPIC33EP + GLCD

Mensagempor roquetti » 19 Jul 2014 19:11

Pessoall,
Boa noite,
Estou usando o dsPIC33EP256MU810 com uma lib GLCD.C gostaria de colocar uma imagem no display GLCD, estou usando C30 e MPLAB IDE,

uso o programa LCDAssistant.exe http://en.radzio.dxp.pl/bitmap_converter/ para gerar a imagem em hexa.

Esta é parte da lib GLCD.c, creio que é esta função que mostra uma imagem....alguém sabe usar? obrigado.

cpp code
void PutLogo(char *logo){
unsigned char w,h,bitcount,Byte;
w=*logo++;
h=*logo++;
bitcount=0;
do{
for(i=0;i<w;i++){
if(bitcount==0){
bitcount=8;
Byte=*logo++;
}
if(Byte&1) plot(XPos,YPos);
XPos++;
Byte/=2;
bitcount--;
}
YPos++;
XPos-=w;
}while(--h);
}
roquetti
Byte
 
Mensagens: 183
Registrado em: 27 Dez 2008 23:07
Localização: Jaguariúna - SP

Re: ajuda dsPIC33EP + GLCD

Mensagempor andre_teprom » 19 Jul 2014 21:36

Tá faltando mais detalhes, tem como anexar o arquivo inteiro ?


+++
"Por maior que seja o buraco em que você se encontra, relaxe, porque ainda não há terra em cima."
Avatar do usuário
andre_teprom
Dword
 
Mensagens: 5229
Registrado em: 11 Out 2006 18:27
Localização: Brasil - RJ

Re: ajuda dsPIC33EP + GLCD

Mensagempor roquetti » 19 Jul 2014 22:19

cpp code
#if defined(__dsPIC30F__)
#include <p30fxxxx.h>
#elif defined(__dsPIC33F__)
#include <p33Fxxxx.h>
#elif defined(__dsPIC33E__)
#include <p33Exxxx.h>
#elif defined(__PIC24H__)
#include <p24Hxxxx.h>
#elif defined(__PIC24E__)
#include <p24Exxxx.h>
#endif

#include "hardware_profile.H"
#include "GLCD.h"

const unsigned char Font[96][7];
unsigned char i,XPos,YPos,W;

void plot(unsigned char x,unsigned char y){
unsigned char d;
if(x>63){
b_GLCD_GCS1=0;
b_GLCD_GCS2=1;
x-=64;
}
else
{
b_GLCD_GCS1=1;
b_GLCD_GCS2=0;
}
GLCD_Write_Cmd(0x40+x); //write column address
GLCD_Write_Cmd(0xb8+(y>>3)); //write row address
d=GLCD_Read_Data(); //dummy read
//d=GLCD_Read_Data();
GLCD_Write_Cmd(0x40+x); //write column address again
d=d&(0xff-(1<<(y&7)));
GLCD_Write_Data(d);
}

void hline(unsigned char x,unsigned char y1,unsigned char y2){
for(i=y1;i<y2;i++)
plot(x,i);
}

void vline(unsigned char x1,unsigned char x2,unsigned char y){
for(i=x1;i<x2;i++)
plot(i,y);
}

void box(unsigned char x1,unsigned char y1,
unsigned char x2,unsigned char y2){
vline(x1,x2,y1);
vline(x1,x2,y2);
hline(x1,y1,y2);
hline(x2,y1,y2);
}

void Delay(void){
int x;
for(x=0; x<20; x++) Nop();
}

unsigned char GLCD_Read(void){
b_GLCD_E=1;
Delay();
W=(GLCD_Data & 0x00FF);
b_GLCD_E=0;
return W;
}

void Wait_Not_Busy(void){
int temp;
temp = (TRIS_Data | 0x00FF);
TRIS_Data = temp;
b_GLCD_RS=0;
b_GLCD_RW=1;
if (b_GLCD_GCS1==1 && b_GLCD_GCS2==1){
b_GLCD_GCS1=0;
while (GLCD_Read()&0x80);
b_GLCD_GCS1=1;
b_GLCD_GCS2=0;
while (GLCD_Read()&0x80);
b_GLCD_GCS2=1;
}
else{
while (GLCD_Read()&0x80);
}
TRIS_Data = (temp & 0xFF00);
}

void GLCD_Write_Cmd(unsigned char data){
int temp, temp1;
temp1 = (LATA & 0xFF00);
Wait_Not_Busy();
temp = (GLCD_Data & 0xFF00);
data = (temp | data);
GLCD_Data = data;
LATA = (temp1 | data);
b_GLCD_RS=0;
b_GLCD_RW=0;
b_GLCD_E=1;
Delay();
b_GLCD_E=0;
}

void GLCD_Write_Data (unsigned char data){
int temp, temp1;
temp1 = (LATA & 0xFF00);
Wait_Not_Busy();
temp = (GLCD_Data & 0xFF00);
data = (temp | data);
GLCD_Data = data;
LATA = (temp1 | data);
b_GLCD_RS=1;
b_GLCD_RW=0;
b_GLCD_E=1;
Delay();
b_GLCD_E=0;
}

void MoveRight(void){
if(++XPos==64){
WritePosition();
}
if(XPos==128){
XPos=0;
YPos+=8;
YPos=YPos&0x3f;
WritePosition();
}
}

void WritePosition(void){
if(XPos>63){
b_GLCD_GCS1=0;
b_GLCD_GCS2=1;
}
else{
b_GLCD_GCS1=1;
b_GLCD_GCS2=0;
}
GLCD_Write_Cmd(0x40+(XPos&0x3f)); //column=0
GLCD_Write_Cmd(0xb8+((YPos&0x3f)>>3)); //row=0
}

unsigned char GLCD_Read_Data(void){
int temp;
temp = (TRIS_Data | 0x00FF);
Wait_Not_Busy();
TRIS_Data = temp;
b_GLCD_RS=1;
b_GLCD_RW=1;
b_GLCD_E=1;
Delay();
W=GLCD_Data;
b_GLCD_E=0;
temp = (temp & 0xFF00);
TRIS_Data = temp;
return W;
}

void ClearScreen(void){
unsigned char i,j;
b_GLCD_GCS1=1;
b_GLCD_GCS2=1;
for(i=0;i<8;i++){
GLCD_Write_Cmd(0x40); //y=0
GLCD_Write_Cmd(0xb8+i); //x=0
for(j=0;j<0x40;j++)
GLCD_Write_Data(0xff);
}
SetPos(0,0);
}

void Init_GLCD(void){
unsigned char i;

b_TRIS_GCS1=0;
b_TRIS_GCS2=0;
b_TRIS_RS=0;
b_TRIS_RW=0;
b_TRIS_E=0;
b_TRIS_On=0;
b_TRIS_BL=0;

b_GLCD_On=1;
b_GLCD_GCS1=1;
b_GLCD_GCS2=1;
b_GLCD_BL=1;
GLCD_Write_Cmd(0x3f); //display on
GLCD_Write_Cmd(0xc0); //z=0
ClearScreen();
}

void PutChar(unsigned char data){
unsigned char i,d;
if(data<32){
switch(data){
case 13:
XPos=0;
case 10:
XPos=0;
YPos+=8;
YPos=YPos&63;
}
WritePosition();
}
else{
for(i=0;i<7;i++){
d=Font[data-32][i];
if(d!=0x55){
GLCD_Write_Data(d);
MoveRight();
}
}
GLCD_Write_Data(0xff);
MoveRight();
}
}

void PutMessage(char *Message){
while(*Message!=0)
if(*Message==0x16){
*Message++;
XPos=*Message++;
YPos=*Message++;
WritePosition();
}
else
PutChar(*Message++);
}

void PutLogo(char *logo){
unsigned char w,h,bitcount,Byte;
w=*logo++;
h=*logo++;
bitcount=0;
do{
for(i=0;i<w;i++){
if(bitcount==0){
bitcount=8;
Byte=*logo++;
}
if(Byte&1) plot(XPos,YPos);
XPos++;
Byte/=2;
bitcount--;
}
YPos++;
XPos-=w;
}while(--h);
}

void SetPos(unsigned char x,unsigned char y){
XPos=x;
YPos=y;
WritePosition();
}

const unsigned char Font[96][7]={

0xFF,0xFF,0xFF,0x55,0x55,0x55,0x55, // 32
0xFF,0xA0,0xFF,0x55,0x55,0x55,0x55, // 33 !
0xF8,0xFF,0xF8,0x55,0x55,0x55,0x55, // 34 ""
0xEB,0x80,0xEB,0x80,0xEB,0x55,0x55, // 35 #
0xD9,0xB6,0x80,0xB6,0xCD,0x55,0x55, // 36 $
0x9C,0xEC,0xF7,0x9B,0x9C,0x55,0x55, // 37 %
0xC9,0xB6,0xFF,0xDD,0xAF,0x55,0x55, // 38 &
0xFB,0xFC,0xFF,0x55,0x55,0x55,0x55, // 39 '
0xE3,0xDD,0xBE,0x55,0x55,0x55,0x55, // 40 (
0xBE,0xDD,0xE3,0x55,0x55,0x55,0x55, // 41 )
0xEB,0xD5,0xE3,0xD5,0xEB,0x55,0x55, // 42 *
0xF7,0xF7,0xC1,0xF7,0xF7,0x55,0x55, // 43 +
0x7F,0x9F,0x55,0x55,0x55,0x55,0x55, // 44 ,
0xF7,0xF7,0xF7,0xF7,0xF7,0x55,0x55, // 45 -
0xBF,0x55,0x55,0x55,0x55,0x55,0x55, // 46 .
0x9F,0xEF,0xF7,0xFB,0xFC,0x55,0x55, // 47 /
0xC1,0xAE,0xB6,0xBA,0xC1,0x55,0x55, // 48 0
0xFF,0xBD,0x80,0xBF,0xFF,0x55,0x55, // 49 1
0x9D,0xAE,0xB6,0xB6,0xB9,0x55,0x55, // 50 2
0xDD,0xBE,0xB6,0xB6,0xC9,0x55,0x55, // 51 3
0xE7,0xEB,0xED,0x80,0xEF,0x55,0x55, // 52 4
0xD8,0xB6,0xB6,0xB6,0xCE,0x55,0x55, // 53 5
0xC3,0xB5,0xB6,0xB6,0xCF,0x55,0x55, // 54 6
0xFE,0x8E,0xF6,0xFA,0xFC,0x55,0x55, // 55 7
0xC9,0xB6,0xB6,0xB6,0xC9,0x55,0x55, // 56 8
0xF9,0xB6,0xB6,0xD6,0xE1,0x55,0x55, // 57 9
0xEB,0x55,0x55,0x55,0x55,0x55,0x55, // 58 :
0x7F,0x97,0x55,0x55,0x55,0x55,0x55, // 59 ;
0xF7,0xEB,0xDD,0xBE,0x55,0x55,0x55, // 60 <
0xEB,0xEB,0xEB,0xEB,0x55,0x55,0x55, // 61 =
0xBE,0xDD,0xEB,0xF7,0x55,0x55,0x55, // 62 >
0xFD,0xFE,0xAE,0xF6,0xF9,0x55,0x55, // 63 ?
0xC1,0xBE,0xA2,0xFF,0xB1,0x55,0x55, // 64 @
0x83,0xED,0xEE,0xED,0x83,0x55,0x55, // 65 A
0x80,0xB6,0xB6,0xB6,0xC9,0x55,0x55, // 66 B
0xC1,0xBE,0xBE,0xBE,0xDD,0x55,0x55, // 67 C
0x80,0xBE,0xBE,0xDD,0xE3,0x55,0x55, // 68 D
0x80,0xB6,0xB6,0xB6,0xBE,0x55,0x55, // 69 E
0x80,0xF6,0xF6,0xF6,0xFE,0x55,0x55, // 70 F
0xC1,0xBE,0xB6,0xD6,0x8D,0x55,0x55, // 71 G
0x80,0xF7,0xF7,0xF7,0x80,0x55,0x55, // 72 H
0xBE,0x80,0xBE,0x55,0x55,0x55,0x55, // 73 I
0xDF,0xBF,0xBE,0xC0,0xFE,0x55,0x55, // 74 J
0x80,0xF7,0xEB,0xDD,0xBE,0x55,0x55, // 75 K
0x80,0xBF,0xBF,0xBF,0x55,0x55,0x55, // 76 L
0x80,0xFD,0xF3,0xFD,0x80,0x55,0x55, // 77 M
0x80,0xF9,0xF7,0xCF,0x80,0x55,0x55, // 78 N
0xC1,0xBE,0xBE,0xBE,0xC1,0x55,0x55, // 79 O
0x80,0xF6,0xF6,0xF6,0xF9,0x55,0x55, // 80 P
0xC1,0xBE,0xAE,0xDE,0xA1,0x55,0x55, // 81 Q
0x80,0xF6,0xE6,0xD6,0xB9,0x55,0x55, // 82 R
0xD9,0xB6,0xB6,0xB6,0xCD,0x55,0x55, // 83 S
0xFE,0xFE,0x80,0xFE,0xFE,0x55,0x55, // 84 T
0xC0,0xBF,0xBF,0xBF,0xC0,0x55,0x55, // 85 U
0xF0,0xCF,0xBF,0xCF,0xF0,0x55,0x55, // 86 V
0xF0,0xCF,0xBF,0xC7,0xBF,0xCF,0xF0, // 87 W
0x9C,0xEB,0xF7,0xEB,0x9C,0x55,0x55, // 88 X
0xF8,0xF7,0x8F,0xF7,0xF8,0x55,0x55, // 89 Y
0x9E,0xAE,0xB6,0xBA,0xBC,0x55,0x55, // 90 Z
0x80,0xBE,0xBE,0x55,0x55,0x55,0x55, // 91 [
0xFC,0xFB,0xF7,0xEF,0x9F,0x55,0x55, // 92
0xBE,0xBE,0x80,0x55,0x55,0x55,0x55, // 93 ]
0xF7,0xFB,0xFD,0xFB,0xF7,0x55,0x55, // 94 ^
0xBF,0xBF,0xBF,0xBF,0xBF,0x55,0x55, // 95 _
0xFC,0xFB,0xFF,0x55,0x55,0x55,0x55, // 96 `
0xDF,0xAB,0xAB,0x87,0x55,0x55,0x55, // 97 a
0x80,0xD7,0xBB,0xBB,0xC7,0x55,0x55, // 98 b
0xC7,0xBB,0xBB,0xD7,0x55,0x55,0x55, // 99 c
0xC7,0xBB,0xBB,0xD7,0x80,0x55,0x55, // 100 d
0xC7,0xAB,0xAB,0xB7,0x55,0x55,0x55, // 101 e
0xF7,0x81,0xF6,0xFD,0x55,0x55,0x55, // 102 f
0x67,0x5B,0x5B,0xA7,0x55,0x55,0x55, // 103 g
0x80,0xF7,0xFB,0xFB,0x87,0x55,0x55, // 104 h
0xC2,0xBF,0x55,0x55,0x55,0x55,0x55, // 105 i
0x7F,0x7B,0x82,0x55,0x55,0x55,0x55, // 106 j
0x80,0xEF,0xD7,0xBB,0x55,0x55,0x55, // 107 k
0xFE,0x80,0xFF,0x55,0x55,0x55,0x55, // 108 l
0x83,0xF7,0xFB,0x87,0xFB,0x87,0x55, // 109 m
0x83,0xF7,0xFB,0xFB,0x87,0x55,0x55, // 110 n
0xC7,0xBB,0xBB,0xC7,0x55,0x55,0x55, // 111 o
0x03,0xE7,0xDB,0xDB,0xE7,0x55,0x55, // 112 p
0xE7,0xDB,0xDB,0xE7,0x03,0x55,0x55, // 113 q
0x83,0xF7,0xFB,0xFB,0xF7,0x55,0x55, // 114 r
0xB7,0xAB,0xAB,0xDB,0x55,0x55,0x55, // 115 s
0xFB,0xC1,0xBB,0x55,0x55,0x55,0x55, // 116 t
0xC3,0xBF,0xBF,0xDF,0x83,0x55,0x55, // 117 u
0xE3,0xDF,0xBF,0xDF,0xE3,0x55,0x55, // 118 v
0xC3,0xBF,0xCF,0xBF,0xC3,0x55,0x55, // 119 w
0xBB,0xD7,0xEF,0xD7,0xBB,0x55,0x55, // 120 x
0xE3,0x5F,0x5F,0x83,0x55,0x55,0x55, // 121 y
0x9B,0xAB,0xAB,0xB3,0x55,0x55,0x55, // 122 z
0xF7,0xC9,0xBE,0x55,0x55,0x55,0x55, // 123 {
0xFF,0x80,0xFF,0x55,0x55,0x55,0x55, // 124 |
0xBE,0xC9,0xF7,0x55,0x55,0x55,0x55, // 125 }
0xFF,0xFF,0x55,0x55,0x55,0x55,0x55, // 126 ~
0x01,0x7D,0x7D,0x7D,0x01,0x55,0x55, // 127 
};
roquetti
Byte
 
Mensagens: 183
Registrado em: 27 Dez 2008 23:07
Localização: Jaguariúna - SP

Re: ajuda dsPIC33EP + GLCD

Mensagempor andre_teprom » 20 Jul 2014 00:21

Fiz um teste usando meu avatar que possui um tamanho de 80px x 80px (=0x50) e foi gerado o seguinte array abaixo que salvei numa variavel conforme abaixo:
cpp code
const unsigned char andre_teprom[] = {
0x50, 0x00, 0x50, 0x00,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x7F, 0x3F, 0x1F, 0x1F, 0x1F, 0x0F, 0x07, 0x03, 0x03,
0x03, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x03, 0x03, 0x03, 0x07, 0x07, 0x0F, 0x0F, 0x1F, 0x3F, 0x7F, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0x1F, 0x1F, 0x3F, 0x1F, 0x1F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x0F, 0x1F, 0x3F, 0x1F, 0x0F,
0x07, 0x07, 0x03, 0x03, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x01, 0x03, 0x07, 0x0F, 0x1F, 0x1F, 0x1F, 0x0F, 0x1F, 0x0F, 0x1F, 0x3F, 0x0F, 0x07, 0xFF,
0xFF, 0x00, 0x02, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x20, 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, 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, 0xFF,
0xFF, 0x00, 0x00, 0x00, 0x00, 0x40, 0x60, 0x64, 0xE8, 0xEA, 0xF8, 0xF0, 0xC0, 0xC0, 0x50, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xC0,
0xD0, 0xC0, 0xE0, 0xF0, 0xF8, 0xE8, 0xF8, 0xF8, 0xF8, 0xF8, 0xF8, 0xF8, 0xFC, 0xFC, 0xF8, 0xF0,
0xF0, 0xF0, 0xF8, 0xF0, 0xE0, 0xF0, 0xE0, 0xE0, 0xE0, 0xE0, 0xC0, 0xC0, 0xC0, 0x80, 0x80, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF,
0xFF, 0xC0, 0xC0, 0xC0, 0xC0, 0xF0, 0xF0, 0xF0, 0xE3, 0xF3, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xE0,
0x20, 0xE0, 0x88, 0x00, 0x00, 0x00, 0x80, 0x88, 0x86, 0xE0, 0x71, 0xEC, 0xFE, 0xF3, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0xFF,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F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0x3F, 0x1F, 0x0F, 0x0F, 0x1F, 0x7F, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x3F, 0xFF
};


Meu palpite seria o seguinte uso, para o caso acima:
cpp code
PutLogo( &andre_teprom[] ) ;




+++
"Por maior que seja o buraco em que você se encontra, relaxe, porque ainda não há terra em cima."
Avatar do usuário
andre_teprom
Dword
 
Mensagens: 5229
Registrado em: 11 Out 2006 18:27
Localização: Brasil - RJ

Voltar para DSP

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante