Search found 433 matches
- 12 Nov 2010 12:56
- Forum: mikroC PRO for PIC General
- Topic: New user Question - add a c code file to project
- Replies: 4
- Views: 1438
Re: New user Question - add a c code file to project
Hello ashnook , If compiler doesn't want to compile your code, you'll need to create header file for you second c file, include it in main c code and add it into project manager . Here is simple example how it should be done. You have Main c file with program ( main.c ), you have Header h file ( bli...
- 12 Nov 2010 12:34
- Forum: Development Boards
- Topic: Soft_I2C infintely blocking
- Replies: 5
- Views: 2168
Re: Soft_I2C infintely blocking
Hello tioluwa , First, make sure that you've disconnected everything from those lines. Also turn off LEDs if turned on. Important is that you put Pull Up on I2C line (if using PortC as in example, for your board it's jumper J3 ). Now, as freestar8n said, you should use for direction TRIS registers. ...
- 12 Nov 2010 12:17
- Forum: mikroC PRO for PIC General
- Topic: proplem with if statment
- Replies: 1
- Views: 993
Re: proplem with if statment
Hello haysem , The PIC16F877a has Comparators and A/D Converter on its ports. This needs to be disabled so that ports function as Digital I/O ports. Here is how example should look like: void main() { ADCON1 = 0x06; // Disable ADC CMCON = 0x07; // Disable Comparators TRISA=0xFF; TRISB=0; while(1) { ...
- 08 Oct 2010 07:12
- Forum: mikroC General
- Topic: ps2 keybord test routing
- Replies: 9
- Views: 3784
Re: ps2 keybord test routing
Hello MENDIS,
I tried all our examples, for mP, mB and mC with EasyPIC6 and standard PS/2 keyboard, and all are working flawlessly. Can you pack your project and attach to this thread to inspect it.
Best regards
I tried all our examples, for mP, mB and mC with EasyPIC6 and standard PS/2 keyboard, and all are working flawlessly. Can you pack your project and attach to this thread to inspect it.
Best regards
- 05 Oct 2010 08:38
- Forum: mikroPascal PRO for dsPIC30/33 and PIC24 General
- Topic: mikroPascal PRO and mikroPascal registers
- Replies: 1
- Views: 1801
Re: mikroPascal PRO and mikroPascal registers
Hello PIC24,
There were major changes in our compilers when we released PRO versions and fuse bits are more accurate in our PRO version.
You could compare strings like what is written for osc on one and then on another etc.
Also you could say what configuration you want to transfer?
Best regards
There were major changes in our compilers when we released PRO versions and fuse bits are more accurate in our PRO version.
You could compare strings like what is written for osc on one and then on another etc.
Also you could say what configuration you want to transfer?
Best regards
- 05 Oct 2010 07:53
- Forum: mikroC General
- Topic: please simple Help
- Replies: 1
- Views: 977
Re: please simple Help
Hello moaaz2008,
What do you mean by "convert the source code into executable code HEX
If you mean how to compile code to HEX, you can press Ctrl + F9 or use Icon: If you want to compile and burn to MCU, you can use Ctrl + F11 or use Icon: Best regards
What do you mean by "convert the source code into executable code HEX
If you mean how to compile code to HEX, you can press Ctrl + F9 or use Icon: If you want to compile and burn to MCU, you can use Ctrl + F11 or use Icon: Best regards
- 05 Oct 2010 07:43
- Forum: mikroC PRO for PIC General
- Topic: HELP WITH PROJECT
- Replies: 1
- Views: 996
Re: HELP WITH PROJECT
Hello Mwalimu II,
You could look at our examples that come within our software bundle. They are good starting point and I'm sure you'll find some that will give you first step in your project.
Best regards
You could look at our examples that come within our software bundle. They are good starting point and I'm sure you'll find some that will give you first step in your project.
Best regards
- 05 Oct 2010 07:31
- Forum: mikroPascal PRO for dsPIC30/33 and PIC24 Beta Testing
- Topic: Incorrect % RAM use reported in the stat window [4.5 too]
- Replies: 7
- Views: 5676
Re: Incorrect % RAM use reported in the stat window [4.1 too
Hello OT,
I tried examples and didn't notice this behavior. Here is Screenshot: Best regards
I tried examples and didn't notice this behavior. Here is Screenshot: Best regards
- 05 Oct 2010 07:16
- Forum: mikroC PRO for PIC General
- Topic: SPI_Ethernet_sendUDP problem
- Replies: 5
- Views: 2073
Re: SPI_Ethernet_sendUDP problem
Hello marcos_utfpr,
Can you attach whole project to this thread, you can put it in archive, so it can be inspected and tested.
Best regards
Can you attach whole project to this thread, you can put it in archive, so it can be inspected and tested.
Best regards
- 05 Oct 2010 07:11
- Forum: mikroBasic PRO for PIC General
- Topic: Hex File Error
- Replies: 4
- Views: 1915
Re: Hex File Error
Hello Hany,
One thing more, our HEX files comply Intel and Intel long HEX file formats, so if your programmer complies with this standard too, it should work with HEXs generated by our compilers with no problem.
Please, attach your HEX just to inspect it.
Best regards
One thing more, our HEX files comply Intel and Intel long HEX file formats, so if your programmer complies with this standard too, it should work with HEXs generated by our compilers with no problem.
Please, attach your HEX just to inspect it.
Best regards
- 04 Oct 2010 14:00
- Forum: Development Boards
- Topic: PIC16F628A recognized as PIC12F508 on Easypic5 w/ Pic prog
- Replies: 3
- Views: 1640
Re: PIC16F628A recognized as PIC12F508 on Easypic5 w/ Pic pr
Hello FrancisC , This usually occurs if MCU is not right recognized, maybe MCU is not functional, or you didn't set right socket for it. Try changing socket selection jumpers (J8 and J9). Consider back of development system for right place. Also make sure that your MCU is in appropriate socket, the ...
- 04 Oct 2010 13:50
- Forum: mikroC General
- Topic: MIKROC MY OWN CONSTANTS
- Replies: 1
- Views: 1781
Re: MIKROC MY OWN CONSTANTS
Hello fernandomarques , You can define constants like this, in code: const double PI = 3.14159; Or you can define it like this, in Preprocessor: #define TRUE 1 #define FALSE 0 #define BS '\b' #define TAB '\011' You can read more about this in our Help file, where everything is good explained. Best r...
- 01 Oct 2010 14:12
- Forum: mikroC General
- Topic: Interrupt_low using Timers 0, 1 and 2.
- Replies: 3
- Views: 1994
Re: Interrupt_low using Timers 0, 1 and 2.
Hello Angelli , What MCU type you have? If you are looking for examples that are written for Timer0/1/2 Interrupt, they are located within examples provided with our software bundle ( \Examples\Internal MCU modules\ ). Also you can read under section Interrupts in our Help file little more about it....
- 01 Oct 2010 14:04
- Forum: Development Boards
- Topic: Linux development board
- Replies: 5
- Views: 2517
Re: Linux development board
Hello tvlooy,
Thanks for interests in our boards. Even if you are "pure" Linux user. Maybe your progress may help other members of this forum and customers to try out new ways of using boards.
But as I said, we have in plan to support other OSs too.
Best regards
Thanks for interests in our boards. Even if you are "pure" Linux user. Maybe your progress may help other members of this forum and customers to try out new ways of using boards.
But as I said, we have in plan to support other OSs too.
Best regards
- 01 Oct 2010 13:52
- Forum: mikroC PRO for PIC General
- Topic: Newbie question - Accessing bit using parameter
- Replies: 3
- Views: 1524
Re: Newbie question - Accessing bit using parameter
Hello Angelo , The prototype of the Button function is like this: unsigned short Button(unsigned short *port, unsigned short pin, unsigned short time, unsigned short active_state); Where parameter port specifies the location of the button; parameter pin is the pin number on designated port and goes ...