RISCIT
Junior Member level 1
- Joined
- Dec 30, 2011
- Messages
- 15
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,441
Hello,
Please some one can give a little part of code to display a waveform like a sinus on a GLCD Graphical?
I know thtat the mathematical equation for the sinus is y=sinx but when i want to translate it in c program to display the sinus on a glcd it does not work
Using PIC16F887 And T6963C Controler 128*64
Please some one can give a little part of code to display a waveform like a sinus on a GLCD Graphical?
I know thtat the mathematical equation for the sinus is y=sinx but when i want to translate it in c program to display the sinus on a glcd it does not work
Using PIC16F887 And T6963C Controler 128*64
Code:
void Trace_Sinus(){
char x1 = 0;
do{
T6963C_line(6, 30, x1,y1, T6963C_WHITE); // this functions trace a line 6, 30 are the left coord and x1 y1 the right coord
x1++.
y1 = sin(x1);
}
while(x1<128);