Search found 65 matches

by Eng_Bandar
21 May 2012 11:35
Forum: mikroC PRO for PIC General
Topic: LCD; Proteus; MikroC Pro; C# (Problem)
Replies: 14
Views: 5426

Re: LCD; Proteus; MikroC Pro; C# (Problem)

i have a service contract so i always use the most up to date proteus. currently i am running 7.10. as you can see from my screen capture, the basic project i have provided works to collect and display the information from serial port as i am sending it. This is intended as a basic how-to, so that ...
by Eng_Bandar
16 May 2012 09:15
Forum: mikroC PRO for PIC General
Topic: LCD; Proteus; MikroC Pro; C# (Problem)
Replies: 14
Views: 5426

Re: LCD; Proteus; MikroC Pro; C# (Problem)

ok i have quickly strung together a uart data collector which will populate an array and then display the current array based on linefeed being found. the virtual terminal is there as a visual on what data is being seen on UART RX pin, this helps to confirm the LCD is displaying what is being sent....
by Eng_Bandar
16 May 2012 09:09
Forum: mikroC PRO for PIC General
Topic: LCD; Proteus; MikroC Pro; C# (Problem)
Replies: 14
Views: 5426

Re: LCD; Proteus; MikroC Pro; C# (Problem)

filip wrote:Hi,

Lcd_Out prints a string, while the Lcd_Chr_Cp prints a single character on the Lcd.
If you want to use Lcd_Out, you should convert your character to a string first.

Regards,
Filip.
Thank Filip,
I have mentioned that the type of data is string, so I guess I don't have to convet data.
by Eng_Bandar
14 May 2012 10:27
Forum: mikroC PRO for PIC General
Topic: LCD; Proteus; MikroC Pro; C# (Problem)
Replies: 14
Views: 5426

Re: LCD; Proteus; MikroC Pro; C# (Problem)

Another weird thing is that if I use First: Lcd_Chr_Cp(receive); it works perfect. So, what is wrong with Second: Lcd_Out(1, 1, receive); the problem with the first one is I can't determine the position of the letters or numbers in LCD. Lcd_Out(1, 1, receive); this line will also just overwrite the...
by Eng_Bandar
14 May 2012 10:06
Forum: mikroC PRO for PIC General
Topic: LCD; Proteus; MikroC Pro; C# (Problem)
Replies: 14
Views: 5426

Re: LCD; Proteus; MikroC Pro; C# (Problem)

Thank Mince-n-Tatties and this is what you required.
by Eng_Bandar
14 May 2012 08:34
Forum: mikroC PRO for PIC General
Topic: LCD; Proteus; MikroC Pro; C# (Problem)
Replies: 14
Views: 5426

Re: LCD; Proteus; MikroC Pro; C# (Problem)

Another weird thing is that if I use

First:
Lcd_Chr_Cp(receive);

it works perfect. So, what is wrong with

Second:
Lcd_Out(1, 1, receive);

the problem with the first one is I can't determine the position of the letters or numbers in LCD.
by Eng_Bandar
14 May 2012 08:13
Forum: mikroC PRO for PIC General
Topic: LCD; Proteus; MikroC Pro; C# (Problem)
Replies: 14
Views: 5426

Re: LCD; Proteus; MikroC Pro; C# (Problem)

Is your C# program sending just a single character 'k' ? .... Or might it be sending something like 'o' 'k' <cr> <lf> .... Or perhaps 'o' 'k' <null> It might be work adding a check to send only numbers 32 to 127 (decimal) to the LCD. Numbers below 32 may be unprintable characters on your LCD. Thank...
by Eng_Bandar
14 May 2012 06:39
Forum: mikroC PRO for PIC General
Topic: LCD; Proteus; MikroC Pro; C# (Problem)
Replies: 14
Views: 5426

LCD; Proteus; MikroC Pro; C# (Problem)

I've got a problem with the following code char receive; void main() { UART1_Init(9600); Lcd_Init(); Lcd_Cmd(_LCD_CURSOR_OFF); while(1) { if(UART1_Data_Ready() == 1) { receive = UART1_Read(); Lcd_Out(1, 1, receive); } } } if I send data from C# GUI doesn't appear in LCD. I'm using Proteus 7.8 SP2. I...
by Eng_Bandar
08 Jan 2011 04:19
Forum: mikroC PRO for PIC General
Topic: USB, MikroC Pro & Proteus
Replies: 3
Views: 1635

Re: USB, MikroC Pro & Proteus

womai wrote:Read through this thread:

http://www.mikroe.com/forum/viewtopic.php?f=88&t=26891

There I have posted a complete, working example for HID on the PC side, written in VB6. It works with the HID demo programs that come with MikroC Pro.

Wolfgang
thank you so much.
by Eng_Bandar
08 Jan 2011 04:13
Forum: mikroC PRO for PIC General
Topic: AT commands in MikroC Pro
Replies: 19
Views: 18384

Re: AT commands in MikroC Pro

^^^^^^^^^^^
The answer is in my video
http://www.youtube.com/watch?v=DZRmgqUPOhA
by Eng_Bandar
28 Sep 2010 05:00
Forum: mikroC PRO for PIC General
Topic: Help in USART Terminal, MikroC and Proteus
Replies: 19
Views: 22324

Re: Help in USART Terminal, MikroC and Proteus

zan wrote:Actually, I'm using mikroBasic (not PRO) version for all my projects. The code that I posted was written in mikroC PRO v3.20. It is one of examples from mikroelektronika.
Thank you. you are clever.
by Eng_Bandar
28 Sep 2010 04:49
Forum: mikroC PRO for PIC General
Topic: PWM for PIC12F683
Replies: 10
Views: 9379

Re: PWM for PIC12F683

Try test your project by Proteus very easy.
by Eng_Bandar
28 Sep 2010 04:30
Forum: mikroC PRO for PIC General
Topic: USB, MikroC Pro & Proteus
Replies: 3
Views: 1635

USB, MikroC Pro & Proteus

Hi guys agian, Now I finished from serial ports (RS232) and I tested my codes by Matlab and C# to sending and recieving data. Now I want go to USB ports. From where can I begin ? What should I know to do this in MikroC Pro and Proteus ? Any advices for me ? I did some search by google and I have inf...
by Eng_Bandar
28 Sep 2010 04:22
Forum: mikroC PRO for PIC General
Topic: LM35, Protues and MikroC Pro
Replies: 14
Views: 12667

Re: LM35, Protues and MikroC Pro

Thank you MARIO so much for your effort.

your code didn't solve the problem. if you simulated it by proteus can you put it here (circuit) ?

I think best way for this in real.

Thank you guy again
by Eng_Bandar
24 Sep 2010 17:18
Forum: mikroC PRO for PIC General
Topic: LM35, Protues and MikroC Pro
Replies: 14
Views: 12667

Re: LM35, Protues and MikroC Pro

@MARIO Thank you for your helping I solved the problem by multiply adc by 0.5 and it came very well.But came new problem with large number like 37. If I put 36 show me 37 Why ? I think problem from math equation but I am not sure. Also how can I approximate float number I mean if a=1.556, I want put...

Go to advanced search