Search found 14 matches
- 15 Dec 2009 12:19
- Forum: mikroC PRO for PIC General
- Topic: flash write
- Replies: 3
- Views: 1810
- 15 Dec 2009 12:18
- Forum: mikroC PRO for PIC Wish List
- Topic: Mikro C Pro with Windows Seven
- Replies: 2
- Views: 2614
- 14 Dec 2009 08:34
- Forum: mikroC PRO for PIC Wish List
- Topic: Mikro C Pro with Windows Seven
- Replies: 2
- Views: 2614
Mikro C Pro with Windows Seven
Is there a known compatibility issue with windows 7 ? When the program runs in windows 7, sometimes it say about "Unexpected Error" and ask to restart the program. What's the reason for that ?
Thanks.
Thanks.
- 14 Dec 2009 08:26
- Forum: mikroC PRO for PIC General
- Topic: flash write
- Replies: 3
- Views: 1810
I don't think that you can write entire array at once. Because the flash memory contains single byte spaces. So, you have to make some architecture to parse your array and store it one by one. See the following example; ---------------------------------------------------------------------------- sho...
- 10 Dec 2009 08:13
- Forum: mikroC PRO for PIC General
- Topic: Variable declaration
- Replies: 2
- Views: 2263
- 08 Dec 2009 11:12
- Forum: mikroC PRO for PIC General
- Topic: Variable declaration
- Replies: 2
- Views: 2263
Variable declaration
Hi All, I just transfer form Mikro C 8.20 to Mikro C 3.2. And have some problem with data type declaration. 1. If we declare " unsigned short x=0; " give error message. Is it need to do for two lines as " unsigned short x; x=0; " ?? 2. if we declare function as " void send(short data) { } ", "data" ...
- 12 Nov 2009 06:54
- Forum: mikroC General
- Topic: Issue Reading Serial Port with Different Terminal Software
- Replies: 2
- Views: 1897
This is what extract, because PuTTy is not be able to access the initialization on the serial port. Probably the burd rates are not match. Try on Linux environment, there you can do the program the serial interface using C. In most cases, I like Linux to do the communication stuff, because it has ex...
- 12 Nov 2009 06:41
- Forum: mikroC General
- Topic: Looking for a simple DS1302 Real-Time Clock Example for PIC
- Replies: 7
- Views: 4789
You may refer the following project which use DS1307 with I2C and this is working perfectly on me.
http://www.best-microcontroller-project ... ck-ic.html
http://www.best-microcontroller-project ... ck-ic.html
- 12 Nov 2009 06:32
- Forum: mikroC General
- Topic: Manual PWM signal
- Replies: 2
- Views: 1772
- 12 Nov 2009 06:02
- Forum: mikroC General
- Topic: Switch Statements ?
- Replies: 3
- Views: 1717
Switch Statements ?
Unfortunately "dangling if" problem presents. For a example:: if { < some code > } if{ < some code > } else { < some code > } In this case, which "if" condition relates with "else" ?. It should be second one. But, in some cases programmer also get confused. So be careful when you work with lots of i...
- 11 Nov 2009 12:53
- Forum: mikroC PRO for 8051 Wish List
- Topic: Surpport for DS89C4xx series
- Replies: 2
- Views: 4805
Surpport for DS89C4xx series
Hi All, DS89C4xx series Ultra-High-Speed Flash Microcontrollers are available via the Maxim-ic. They say that, they can replaced with old 8051 series. But, since they are single cycle instruction execution, cannot use traditional 8051 compilers. Specially, for inbuilt delay routines. It is better, i...
- 11 Nov 2009 12:39
- Forum: mikroC PRO for PIC General
- Topic: novice question about crystal speed
- Replies: 4
- Views: 2440
novice question about crystal speed
In the IDE, it is good to enter the correct speed, otherwise, if you use inbuilt delay functions will get wrong. This is not important for simple projects, but must be correct for most.
Otherwise, you may use user defined delay functions with calculated iterations of "nop" instruction.
Otherwise, you may use user defined delay functions with calculated iterations of "nop" instruction.
- 11 Nov 2009 12:22
- Forum: mikroC General
- Topic: Compare 2 int's
- Replies: 2
- Views: 1307
Compare 2 int's
Theoretically variable "int" can handle −32,768 to +32,767 and for unsigned int, it will be 0 to +65,535. So, there could not be any problem :) But, if you exceed the limits, then there will be a problem. For a example, when you use "int", it will take 16 bits in the MCU memory, and 16th bit is used...
- 11 Nov 2009 12:04
- Forum: mikroC General
- Topic: LCD 2x16 - length of wires
- Replies: 3
- Views: 1722
LCD 2x16 - length of wires
In some cases, long wires can be used with proper shield. But, be careful with timing and stray capacitance. The best option is, use UART communication between main processor and LCD. You can do it easily using PIC16F88 , as the LCD controller. From that, you can release main micro controller from L...