Search found 19 matches
- 28 Mar 2012 10:00
- Forum: mikroC General
- Topic: Memory allocation!!
- Replies: 1
- Views: 1148
Memory allocation!!
Am using a PIC 16f88 uC and I need to have an array of 4x32 of chars eg:- char buff[4][32]; it needs only 128 bytes if I am correct(?) :?: Without using the above array compiler says 328 bytes free & 90% of ram, but I cannot compile the code :( it says Not enough RAM buff :? :? is there a any mistak...
- 05 Jan 2011 19:32
- Forum: mikroC PRO for PIC General
- Topic: Please give me an idea of I2C
- Replies: 8
- Views: 2561
Re: Please give me an idea of I2C
thnx rankoranko.rankovic wrote:Hello rat16f88,
There are few similar projects on our forum pages. You can connect two PIC with I2C.
Best regards
- 05 Nov 2010 06:06
- Forum: mikroC PRO for PIC General
- Topic: HOW TO get the result of x topower Y mikroC
- Replies: 11
- Views: 2773
Re: HOW TO get the result of x topower Y mikroC
THank u all
Thanks erasmus for ur direction
i was so dumb thank all I finaally got It
thanks filip again
Thanks erasmus for ur direction
i was so dumb thank all I finaally got It
thanks filip again
- 26 Oct 2010 20:30
- Forum: mikroC PRO for PIC General
- Topic: HOW TO get the result of x topower Y mikroC
- Replies: 11
- Views: 2773
Re: HOW TO get the result of x topower Y mikroC
Hi rat16f88, I have tested pow() function from the Math library of the mikroC PRO for PIC 4.15 using this simple example : double co_y; double co_x = 5; void main() { co_y = pow(co_x,2); } It compiled OK, no errors. Which version are you using ? If you are using some earlier version please update a...
- 22 Oct 2010 14:26
- Forum: mikroC PRO for PIC General
- Topic: HOW TO get the result of x topower Y mikroC
- Replies: 11
- Views: 2773
Re: HOW TO get the result of x topower Y mikroC
I ll do thanks
- 19 Oct 2010 14:02
- Forum: mikroC PRO for PIC General
- Topic: HOW TO get the result of x topower Y mikroC
- Replies: 11
- Views: 2773
Re: HOW TO get the result of x topower Y mikroC
I tried it but it returns a double I need it to be done in Chars
anyway thank U KaranSoin And I'll try it again
It gives me the error " duplicated labels JMPSETFOV32"
i tried assigning my variables to doubles but no use ?????????
anyway thank U KaranSoin And I'll try it again
It gives me the error " duplicated labels JMPSETFOV32"
i tried assigning my variables to doubles but no use ?????????
- 19 Oct 2010 10:29
- Forum: mikroC PRO for PIC General
- Topic: HOW TO get the result of x topower Y mikroC
- Replies: 11
- Views: 2773
HOW TO get the result of x topower Y mikroC
man In my application I need to have this type of calculation please tell me how to acheive it
eg; z = x to the power y /// (x^y) but in Mikro C ''''^''' is a bitwisw function please help me
eg; z = x to the power y /// (x^y) but in Mikro C ''''^''' is a bitwisw function please help me
- 19 Oct 2010 06:40
- Forum: mikroBasic PRO for PIC General
- Topic: ADC problem when configuring Port
- Replies: 6
- Views: 2570
Re: ADC problem when configuring Port
I dont know ll it works or not withu
I also had this with my PIC16f88
so 1st i set all ad pins to digital io by ANSEL = 0;
(i think u can use ADCON0 or other in other mcus )
then set the required bits to make the analog inputs ANALOG channel selecting register (ANSEL or ADCON s )
IT WORKS
I also had this with my PIC16f88
so 1st i set all ad pins to digital io by ANSEL = 0;
(i think u can use ADCON0 or other in other mcus )
then set the required bits to make the analog inputs ANALOG channel selecting register (ANSEL or ADCON s )
IT WORKS
- 19 Oct 2010 06:34
- Forum: mikroC PRO for PIC General
- Topic: Here is the way to interface a 3310 LCD witha PIC
- Replies: 1
- Views: 1383
Here is the way to interface a 3310 LCD witha PIC
Check out my code if u like to
Im a amateur and advices and criticisms are warmly welcome
please tell me my codes faults
new LCDs seem to ve some problems(nok 3310)
there are fixes too
Im a amateur and advices and criticisms are warmly welcome
please tell me my codes faults
new LCDs seem to ve some problems(nok 3310)
there are fixes too
- 19 Oct 2010 06:25
- Forum: mikroC General
- Topic: how to interface a nokia 3310 LCD with a PIC
- Replies: 4
- Views: 3692
Re: how to interface a nokia 3310 LCD with a PIC
THANKS FILIP & MR2010 I had to figure it out my self so here is my code and all
hve a look if u like to
hve a look if u like to
- 14 Sep 2010 02:43
- Forum: mikroC General
- Topic: how to interface a nokia 3310 LCD with a PIC
- Replies: 4
- Views: 3692
how to interface a nokia 3310 LCD with a PIC
can i interface a nokia 3310 lcd with a pic
to tht can i use microC libraries directly?
to tht can i use microC libraries directly?
- 12 Sep 2010 09:28
- Forum: mikroC PRO for PIC General
- Topic: Writing to individual pins in micro C
- Replies: 5
- Views: 2221
Re: Writing to individual pins in micro C
or use
asm{
bsf PORTB,f4
}
asm{
bsf PORTB,f4
}
- 12 Sep 2010 08:35
- Forum: mikroC PRO for PIC General
- Topic: Please give me an idea of I2C
- Replies: 8
- Views: 2561
Re: Please give me an idea of I2C
man i aint that type of a headhunter or any but i'm just a new down here if u can please let me know can i use I2C or
to do
simply say me
i want a number sent to 84a from 88 i can only dedicate 2 or 3 i/o s of both pics for this
then i wrote the code to display that number in 4 ,7segs
to do
simply say me
i want a number sent to 84a from 88 i can only dedicate 2 or 3 i/o s of both pics for this
then i wrote the code to display that number in 4 ,7segs
- 12 Sep 2010 08:23
- Forum: mikroC PRO for PIC General
- Topic: Please give me an idea of I2C
- Replies: 8
- Views: 2561
Re: Please give me an idea of I2C
please man be simple u are a genius
but i didnt seem to get an answer
please how to communicate with 02 PICs??
but i didnt seem to get an answer
please how to communicate with 02 PICs??
- 12 Sep 2010 08:15
- Forum: mikroC General
- Topic: SIMPLE RADAR USING A PIC
- Replies: 4
- Views: 2572
Re: SIMPLE RADAR USING A PIC
thanks sparky thanks million times
have u tried it??????????
have u tried it??????????