Search found 978 matches

by MARIO
06 Sep 2018 22:26
Forum: mikroC PRO for PIC General
Topic: PIC12F683 - COFF file generation failed Message 304
Replies: 4
Views: 1671

Re: PIC12F683 - COFF file generation failed Message 304

Hi hexreader. Thank you very much for your prompt response. Your sample project generated the coff file. Maybe you can see what is wrong in mine. Thanks again. It's not working yet. Just for testing. I'm trying to use analog comparator. EDIT: I do not have any idea what happened but it generates the...
by MARIO
06 Sep 2018 20:16
Forum: mikroC PRO for PIC General
Topic: PIC12F683 - COFF file generation failed Message 304
Replies: 4
Views: 1671

PIC12F683 - COFF file generation failed Message 304

Hi. Please, I'm trying to do a simple project with this PIC but I'm getting this error and I don't know why. Is this a bug ou what? There are wavy lines under variables too. Hex file works. Project not finished yet. Just in the beginning. I'm using MKC PRO For PIC v7.2.0 May someone help me? Thanks ...
by MARIO
14 Jan 2018 14:12
Forum: mikroC PRO for PIC General
Topic: formating encoder count to 2 decimal places for LCD
Replies: 11
Views: 3513

Re: formating encoder count to 2 decimal places for LCD

Hi Chris. I was thinking about what you said and maybe one or both of 2 things can be happening: 1. Speed rotation of the encoders too high. Are you using an oscilloscope? Maybe some kind of noise or poor quality signal is the problem. 2. As there are 2 encoders, what is the chance of coincidence of...
by MARIO
13 Jan 2018 11:59
Forum: mikroC PRO for PIC General
Topic: formating encoder count to 2 decimal places for LCD
Replies: 11
Views: 3513

Re: formating encoder count to 2 decimal places for LCD

Glad to know I could help you.

As I do not have an encoder like that I only simulated it.

If I can help you in something else, I'm here.
by MARIO
04 Jan 2018 20:54
Forum: mikroC PRO for PIC General
Topic: formating encoder count to 2 decimal places for LCD
Replies: 11
Views: 3513

Re: formating encoder count to 2 decimal places for LCD

Hi cbrun17. Try that: short i; signed long count; char *res, col; int leng ; int A_STEP ; int B_STEP ; char count_txt[12]; bit int_flag; // Custom characters const char character0[] = { 7, 5, 7, 0, 0, 0, 0, 0 }; // Degree Icon /* */ void CustomChar0() { char i; Lcd_Cmd ( 64 ); for ( i = 0; i <= 7; i...
by MARIO
03 Jan 2018 01:22
Forum: mikroC PRO for PIC General
Topic: formating encoder count to 2 decimal places for LCD
Replies: 11
Views: 3513

Re: formating encoder count to 2 decimal places for LCD

Hi cbrun17. Excuse me but I have no time to work on your code. I'm trying now. But can you explain better the encoder signals? Is ENC1_UP the logic negation of ENC1_DWN, the same idea for ENC2? And MRST is the pulse when the encoder completes one turn? A datasheet would be better and a schematic too...
by MARIO
01 Jan 2018 15:34
Forum: mikroC PRO for PIC General
Topic: formating encoder count to 2 decimal places for LCD
Replies: 11
Views: 3513

Re: formating encoder count to 2 decimal places for LCD

Hi,

Where are the definitions of ENC1_DWN, LED_DOWN, LED_UP, ENC1_UP?

And the subroutine CustomChar0()?

May you attach the zip folder with the project?
by MARIO
26 Dec 2017 21:24
Forum: mikroC PRO for PIC General
Topic: [Solved] Tools icons in Tool toolbar
Replies: 2
Views: 1252

Re: Tools icons in Tool toolbar

Thanks janni.

That solved the problem!
by MARIO
26 Dec 2017 13:44
Forum: mikroC PRO for PIC General
Topic: [Solved] Tools icons in Tool toolbar
Replies: 2
Views: 1252

[Solved] Tools icons in Tool toolbar

Hi. I'm using MkC Pro for PIC 7.1.0 and I have added two tools in the Tools options. When I was registering them, the respective icons appeared in the Tools toolbar. But after closing the IDE and reopening it, the new icons disappeared and no way to get them back, unless deleting them and registerin...
by MARIO
26 Dec 2017 13:33
Forum: mikroC PRO for PIC General
Topic: [Solved] Directions to implement USB comm with 18F2550
Replies: 8
Views: 2686

Re: Directions to implement USB comm with 18F2550

Hi.

Yes, but the cost is up to my client if it worths or not.

My job is to inform him the alternatives.

I'm just awaiting his response.

I really appreciate your efforts helping me.

Thanks.
by MARIO
26 Dec 2017 13:04
Forum: mikroC PRO for PIC General
Topic: [Solved] Directions to implement USB comm with 18F2550
Replies: 8
Views: 2686

Re: Directions to implement USB comm with 18F2550

Hi, Thanks for the valuable information! http://www.datalogic.com/eng/products/retail/fixed-retail-scanners/magellan-3200vsi-pd-160.html I'm just trying to avoid additional costs in the project. It is cheaper to get RS232 cable, I suppose. The last choice is using MAX3421E due other difficulties, in...
by MARIO
26 Dec 2017 02:01
Forum: mikroC PRO for PIC General
Topic: [Solved] Directions to implement USB comm with 18F2550
Replies: 8
Views: 2686

Re: Directions to implement USB comm with 18F2550

I appreciate the answers. @jacimovic Thank you for your effort, but I think I did not make myself clear. Sorry for that. The logic of comparison I know how to do it. The problem is to stablish communication with the scanner. I've used the example of MkC Help, done some changes, but the scanner never...
by MARIO
23 Dec 2017 14:02
Forum: mikroC PRO for PIC General
Topic: [Solved] Directions to implement USB comm with 18F2550
Replies: 8
Views: 2686

[Solved] Directions to implement USB comm with 18F2550

Merry Christmas to all. I have never dealt with USB before. And I'm lost. I need to read codes from a USB barcode scanner and turn on an alarm when the code is different from what is expected,. Simples as that. But I have no clue how to do it. I'm just trying to get some directions on how to do it. ...
by MARIO
26 Aug 2016 20:38
Forum: mikroC PRO for PIC General
Topic: Auto hide does not work after update to 6.6.3
Replies: 48
Views: 16015

Re: Auto hide does not work after update to 6.6.3

Thanks Nadir.

For your reference my notebook is an HP with Intel HD Graphics 4000 and NVIDIA GeForce GT650M, if this can help.

Both drivers are up to date.
by MARIO
25 Aug 2016 22:37
Forum: mikroC PRO for PIC General
Topic: Auto hide does not work after update to 6.6.3
Replies: 48
Views: 16015

Re: Auto hide does not work after update to 6.6.3

Thanks nadir. After all steps pointed by you problem continues. I attached a video and a picture after all new configurations and you can see the mess the thing is (I do not believe that the new configuration is the cause). Really, there is no logic. Behaviour is completely chaotic. I've tested anot...

Go to advanced search