Nick101 wrote:Hi,
Use WordToStr instead of IntToStr. Word is unsigned range 0 .. 65535 while signed int range -32768 .. 32767
Search found 16 matches
- 09 Jan 2010 22:47
- Forum: mikroC General
- Topic: i
- Replies: 2
- Views: 1290
- 12 Aug 2009 06:21
- Forum: mikroC General
- Topic: 1
- Replies: 8
- Views: 4086
Make sure that boud rate in MikroC is 9600, and other settings are correct. Go to the link that zristic provided, and make sure the clock is set up properly. Change the output type to HEX in MikroC (hopefully you can, I forgot if it has that option, I can't check that now), and take a print screen ...
- 11 Aug 2009 17:58
- Forum: mikroC General
- Topic: 1
- Replies: 8
- Views: 4086
What do you mean by "only zero in decimal is received" ? The output on communication terminal of MikroC shows continues zeros coming in decimal format. which shows that hardware is OK but the program is not sending the required output.. i have changed the code as per "pwdixon" as [/img] void main()...
- 26 Jun 2009 14:21
- Forum: mikroC General
- Topic: 16*2 LCD and PIC18F4550 interfacing using mikroC compiler
- Replies: 4
- Views: 6792
RE 16*2 LCD and PIC18F4550 interfacing using mikroC compiler
u can do these things
connect E (LCD PIN 5) to RD3
connect D0, D1,D2,D3 of LCD to ground
connect R/S of LCD to ground
now it should work....
connect E (LCD PIN 5) to RD3
connect D0, D1,D2,D3 of LCD to ground
connect R/S of LCD to ground
now it should work....
- 20 Apr 2009 06:07
- Forum: mikroC General
- Topic: 1
- Replies: 5
- Views: 2457
Re: problem:: PIC18F1320+PORTA.F4 always LOW
In addition to Zoran's explanation: ...it also does not take any input.... Can you explain this a little bit more? zz =Adc_Read(0); if(zz >500) PORTA.F4=1; else PORTA.F4=0; Writing to the outputs you should use the output-latch-registers, this avoids any r-m-w-effects (read-modify-write) pretty eas...
- 20 Apr 2009 06:05
- Forum: mikroC General
- Topic: 1
- Replies: 5
- Views: 2457
Re: problem:: PIC18F1320+PORTA.F4 always LOW
Thanks Problem solved..zristic wrote:PORTA.4 is open drain, you need a pull up resistor to make the pin work. See datasheet where it explains PORTA.
- 21 Nov 2008 10:50
- Forum: mikroBasic General
- Topic: variable delay function in u second.
- Replies: 2
- Views: 1333
thanks yo2lio
thanks for help problem solved
- 21 Nov 2008 07:14
- Forum: mikroBasic General
- Topic: variable delay function in u second.
- Replies: 2
- Views: 1333
variable delay function in u second.
is there a variable delay funtion in microseconds like the one in miliseconds "vdelay_ms(variable);"[/b]
- 20 Nov 2008 07:46
- Forum: mikroBasic General
- Topic: 1
- Replies: 2
- Views: 1379
thanks dear yo2lio
dear yo2lio
thank
thank
- 14 Nov 2008 07:16
- Forum: Development Boards
- Topic: 1
- Replies: 2
- Views: 1616