Search found 120 matches

by dariush_abbasi
07 Jul 2009 10:55
Forum: mikroC PRO for PIC General
Topic: An error
Replies: 5
Views: 2880

Hi.
The result after changing the compiler setting as you said:
Used RAM:17%
Used ROM:48%
Although the differences of memory usage are not that much,the mikroc pro is much more user-friendly.
Thanks.
by dariush_abbasi
06 Jul 2009 20:25
Forum: mikroC PRO for PIC General
Topic: An error
Replies: 5
Views: 2880

Thanks a lot for your great help.
i checked the same program with both of mikroc and mikroc pro and i had the following results:
With mikroc: used ROM:53% used RAM:18%
With mikroc pro: used ROM:47% used RAM:33%
Do you think which one is more important?
by dariush_abbasi
04 Jul 2009 17:55
Forum: mikroC PRO for PIC General
Topic: An error
Replies: 5
Views: 2880

An error

Hi everybody.
My program compiles correctly with mikroc but now when i try to compile it with "mikroc pro" i have the following error message.
too many actual parameters?!
by dariush_abbasi
04 Jul 2009 06:24
Forum: mikroBasic General
Topic: Reading temperature with SHT and sendin the values in tables
Replies: 3
Views: 2592

I have same problem with sht75.
I don't know why LCD doesn't work with sht program??!!
I have checked all of the programs on forum but none of them works!
by dariush_abbasi
04 Jul 2009 03:37
Forum: mikroC General
Topic: Need help: If statement
Replies: 4
Views: 1688

Hi.
C is the same but try to use "else if" instead of "if" except the first one.
Your if clauses is also wrong,you must write "if(PORT==2)" not "if(PORT=2)".
Be successful.
by dariush_abbasi
03 Jul 2009 17:58
Forum: mikroC General
Topic: SHT11 with MikroC
Replies: 4
Views: 4163

Hi.
I have used your code with sht75 and 20m clock and i connected lcd to PORTD and sht75 to PORTB pin 0,1 but nothing is showed on lcd.
Would you please help me?
any suggestion?
thanks.
by dariush_abbasi
07 May 2009 18:50
Forum: mikroC General
Topic: DS18B20 vs SHT75?which one.
Replies: 4
Views: 2135

Any suggestions about the advantages and disadvantages of these two sensors?
Which one is more accurate and which one is more stable?
Which one is more trustworthy to use for vital situations?
Thanks.
by dariush_abbasi
06 May 2009 19:51
Forum: mikroC General
Topic: DS18B20 vs SHT75?which one.
Replies: 4
Views: 2135

DS18B20 vs SHT75?which one.

Hi everybody. First of all pardon me for my bad English. As you know the best resolution of ds18b20 is 0.065 and the resolution of sht75 is 0.01. Since i need the best resolution for my job,i want to know whether i can get the real 0.01 from sht75 or not,because i have just used the ds18b20 so far,a...
by dariush_abbasi
07 Oct 2008 08:26
Forum: mikroC General
Topic: how to write from the keyboard(PS2) to the LCD
Replies: 6
Views: 2640

It is very simple.
For example:
You can send it to this function:

Code: Select all

char MASK(int keydata){
  switch(keydata){
            case 56:return 'a';break;
            ...
            }
}
Be successful.
by dariush_abbasi
06 Oct 2008 20:36
Forum: mikroC General
Topic: how to write from the keyboard(PS2) to the LCD
Replies: 6
Views: 2640

Hi.
If i don't mistake,this function returns the ASCII code and you can change it with something like "switch" instruction.
Be successful.
Dariush.
by dariush_abbasi
06 Oct 2008 20:28
Forum: mikroC General
Topic: speed meter with 18f452
Replies: 4
Views: 2764

Again freezing????????
by dariush_abbasi
06 Oct 2008 20:25
Forum: mikroC General
Topic: DS1820 to control cooling fan
Replies: 4
Views: 2455

Hi.
You think complicated,actually you can do it very simple.
I have a good code for a temperature controller.
Let me know if you want that.
Be successful.
by dariush_abbasi
05 Oct 2008 19:16
Forum: mikroC General
Topic: DS1820 to control cooling fan
Replies: 4
Views: 2455

Hi.
If you want to just control the fan for a specific temperature,the best way is to use the "strncmp" function.
You can turn on the fan when the temperature exceeds the 23.0 and off when it comes back.
It works excellent.
be successful.
Dariush.
by dariush_abbasi
04 Oct 2008 20:30
Forum: mikroC General
Topic: LCD_Out routine freezing
Replies: 9
Views: 3623

Did you check your code with another PIC??
Actually i have the truncated problem with Lcd_Out command and my problem was solved with changing it to 18f452.
be prosperous.
by dariush_abbasi
04 Oct 2008 20:27
Forum: mikroC General
Topic: LCD_Out routine freezing
Replies: 9
Views: 3623

It is connected same as the example provided by mikroc.
See "one wire example".

Go to advanced search