Search found 69 matches

by absalom
16 Feb 2011 11:59
Forum: mikroC PRO for PIC General
Topic: Error Message help
Replies: 15
Views: 13747

Re: Error Message help

abcd3 wrote:I don't understand. I compile the examples and they work with the same libraries check off. Then I compile mine and I get these unresolved errors :?
When I remember correct the library changes become not active until you saved your project.
by absalom
16 Feb 2011 10:39
Forum: mikroC PRO for PIC General
Topic: HID_Write behaviour microC Pro Version 4.6
Replies: 12
Views: 5972

Re: HID_Write behaviour microC Pro Version 4.6

Function: while(!HID_Write(&writebuff,64)); is blocking call and line writebuff[0] = 66; // New line, this data will be written! have no effect because USB write procedure is ended! Change write buffer before HID_write call. Unfortunately it has an effect as described above. That is the reason for ...
by absalom
15 Feb 2011 19:17
Forum: mikroC PRO for PIC General
Topic: HID_Write behaviour microC Pro Version 4.6
Replies: 12
Views: 5972

Re: HID_Write behaviour microC Pro Version 4.6

That would be painful! Do you know another way to check if the write buffer is ready for new data (apart from waiting for an acknowledge message from the host)?
Looking forward to read also a statement from the mE team.
Thanks
absalom
by absalom
14 Feb 2011 20:03
Forum: mikroC PRO for PIC General
Topic: HID_Write behaviour microC Pro Version 4.6
Replies: 12
Views: 5972

HID_Write behaviour microC Pro Version 4.6

I used your HID Read Write Interrupt example for the first USB trials. It worked without major problems - thank you for this. But when I adapted the example I encountered a problem. I added one line ... for(cnt=0;cnt<64;cnt++) writebuff[cnt]=readbuff[cnt]; while(!HID_Write(&writebuff,64)); writebuff...
by absalom
14 Feb 2011 09:03
Forum: mikroC PRO for PIC General
Topic: Configuration „Edit Project“ of microC Pro vs. mikroProg
Replies: 6
Views: 1989

Re: Configuration „Edit Project“ of microC Pro vs. mikroProg

It is still not clear for me why you have the double entry. Since there is no functional difference it is more understandable if you would use the same configuration topics used in "Edit Project" (for me only maybe).
Nevertheless thanx for your answer.
by absalom
10 Feb 2011 12:58
Forum: mikroC PRO for PIC General
Topic: Please help with PORT and TRIS addressing in mikroC.
Replies: 6
Views: 8830

Re: Please help with PORT and TRIS addressing in mikroC.

There comes an OW (one wire) example with the compiler. I think there you find the syntax how to change a port via a function.
by absalom
09 Feb 2011 13:00
Forum: mikroC PRO for PIC General
Topic: Configuration „Edit Project“ of microC Pro vs. mikroProg
Replies: 6
Views: 1989

Re: Configuration „Edit Project“ of microC Pro vs. mikroProg

Hi Slavisa.
Thanks for your answer. I'm not sure if we have a misunderstand. I understand the difference between HS and HSPLL but nevertheless I don't see a reason to have exactly the same item doubled in the drop down box of mikroProg.
Thanks for your support.
absalom
by absalom
09 Feb 2011 12:51
Forum: mikroC PRO for PIC General
Topic: Help needed on usb interfaces with 18F4550
Replies: 5
Views: 1736

Re: Help needed on usb interfaces with 18F4550

first step is to compile the USB example supplied with the compiler. If there are errors during compilation please provide the text of the error messages and some information of the hardware you use.
Regards
absalom
by absalom
07 Feb 2011 21:25
Forum: mikroC PRO for PIC General
Topic: Configuration „Edit Project“ of microC Pro vs. mikroProg
Replies: 6
Views: 1989

Re: Configuration „Edit Project“ of microC Pro vs. mikroProg

Hi! Please, clarify this: I miss in mikroProgSuite the configuration switch for selecting primary oscillator for primary clock. What is the exact setting you used in the Edit Project? This questions goes back to you :wink: I tried it with the USB bootloader (p18f2550_bootloader_firmware.hex) from h...
by absalom
06 Feb 2011 08:04
Forum: mikroC PRO for PIC General
Topic: Configuration „Edit Project“ of microC Pro vs. mikroProg
Replies: 6
Views: 1989

Configuration „Edit Project“ of microC Pro vs. mikroProg

Hi. I compared the configuration of „Edit Project“ of microC Pro v4.6 vs. mikroProgSuite for Pic [v1.04] for P18F2550. I miss in mikroProgSuite the configuration switch for selecting primary oscillator for primary clock. I think it is hidden in the double entries of “HSPLL – HS osc. PLL ena.” and "H...
by absalom
04 Feb 2011 17:17
Forum: mikroC PRO for PIC General
Topic: Inturrupts
Replies: 1
Views: 979

Re: Inturrupts

Hi royalmadhu, 1. Please use the Code tags and format your code in order to make your code readable. 2. Using PORTB = x<<4 & 0xF1; instead of if (x==0) { portb=0b00000001; } if (x==1) { portb=0b00010001; } ... makes it much easier to read. Last but not least I don't understand your problem (but mayb...
by absalom
04 Feb 2011 16:57
Forum: mikroC PRO for PIC General
Topic: Failed to load scheme file microC PRO v4.60
Replies: 3
Views: 1303

Failed to load scheme file microC PRO v4.60

Hi. When trying to load a delivered scheme file from "Edit Project" I see only the error message: scheme.jpg I tried it for 18F4550 (P18F4550_PLL_8_to_48MHz.cfgsch) and 18F2455 (P18F2455_PLL_8_to_8MHz.cfgsch, P18F2455_PLL_8_to_48MHz.cfgsch). But I can write and re-load my own scheme file. Any idea? ...
by absalom
27 Jan 2011 19:59
Forum: mikroC PRO for PIC General
Topic: Strange SCK signal when using SPI Interface
Replies: 2
Views: 1158

Re: Strange SCK signal when using SPI Interface

Thanks a lot for your answer.

It was an error in measurement - I apologize for causing trouble :oops:

Go to advanced search