Search found 53 matches

by Dakta
06 Jun 2023 22:41
Forum: mikroC PRO for PIC32 General
Topic: TFT displaying Images
Replies: 3
Views: 532

Re: TFT displaying Images

Not a problem, Bill - thank you very much - that resolved the issue!
by Dakta
04 Jun 2023 11:27
Forum: mikroC PRO for PIC32 General
Topic: TFT displaying Images
Replies: 3
Views: 532

TFT displaying Images

I don't have VTFT at the moment but would like to display an image if possibe in my PIC32 project using the Easypic fusion v7 board It's only a test project as Im learning the TFT library, I have got the screen working in every aspect except images. Is the following concept look right? //tft variabl...
by Dakta
20 May 2023 06:35
Forum: mikroC PRO for PIC General
Topic: MikroC Pro - Abandonware?
Replies: 17
Views: 1606

Re: MikroC Pro - Abandonware?

I don't know if it's been discussed elsewhere but I'm of the same mind, it does look like necto has killed off the MikroC traditional compilers and that's a shame. I've bought a few of the Mikroc compilers for PIC 8 bit, 32bit etc and they do absolutely everything I need, whilst I'm not against subs...
by Dakta
19 May 2023 14:11
Forum: mikroC PRO for PIC General
Topic: PIC 18F4580 CAN Filters
Replies: 4
Views: 607

Re: PIC 18F4580 CAN Filters

I think I have sussed it!

Not sure why or how, but adding _CAN_CONFIG_VALID_STD_MSG flag to the config and filters now appear to be working!

That's one of those silly things I probably should know (but can't find a lot of info on) that has stopped me for a bit far too long!
by Dakta
17 May 2023 22:11
Forum: mikroC PRO for PIC General
Topic: PIC 18F4580 CAN Filters
Replies: 4
Views: 607

Re: PIC 18F4580 CAN Filters

Got to be someone on here who has used the canbus library?
by Dakta
16 May 2023 09:36
Forum: mikroC PRO for PIC General
Topic: PIC 18F4580 CAN Filters
Replies: 4
Views: 607

Re: PIC 18F4580 CAN Filters

Haven't solved the issue - a potential workaround is that I manually check the ID of the received message in the interupt handler and drop the message if not of interest. Seems a bit rough way of doing things though - any other ideas? I've double checked against the CANBUS guide in the help and I do...
by Dakta
09 May 2023 23:00
Forum: mikroC PRO for PIC General
Topic: PIC 18F4580 CAN Filters
Replies: 4
Views: 607

Re: PIC 18F4580 CAN Filters

i presume the filters implementation *looks* right?
by Dakta
08 May 2023 13:15
Forum: mikroC PRO for PIC General
Topic: PIC 18F4580 CAN Filters
Replies: 4
Views: 607

PIC 18F4580 CAN Filters

Morning all, just wondering if anyone could have a quick look at the following snippet and see if I am making any glaring errors with relation to the configuration of the canbus module on PIC 18f4580, messages are standard length, clock is 16mhz, baud should be 500kbps as it;s for powertrain canbus ...
by Dakta
29 Jun 2021 09:49
Forum: mikroC PRO for PIC General
Topic: Losing the plot with type conversions
Replies: 6
Views: 1054

Re: Losing the plot with type conversions

Hi Paul Thanks for your continued messages - the speed of transmission is 250k bps through an FTDI chip to a USB port - we have no issues with receiving or transmitting as the function also sends other data which is fine, though it may be better practice to wait for the buffer to empty than simply d...
by Dakta
28 Jun 2021 19:52
Forum: mikroC PRO for PIC General
Topic: Losing the plot with type conversions
Replies: 6
Views: 1054

Re: Losing the plot with type conversions

I see, that would be pretty handy I guess though i can't really figure it out, I set in some breakpoints in the main loop and start the debugger - but it never actually breaks? shouldn't it break when it hits a breakpoint? I can see this becoming a nightmare. All I want to do is pass a value of an s...
by Dakta
27 Jun 2021 17:55
Forum: mikroC PRO for PIC General
Topic: Losing the plot with type conversions
Replies: 6
Views: 1054

Re: Losing the plot with type conversions

Hi thanks for taking the time to investigate my issue/respond. I do not have a simulator or debugger unfortunately so I'm having to program chips and try 'live' - in order to help though I do dump contents of variables through the serial port/USART so for chars, I just transmit the value directly, f...
by Dakta
26 Jun 2021 17:23
Forum: mikroC PRO for PIC General
Topic: Losing the plot with type conversions
Replies: 6
Views: 1054

Losing the plot with type conversions

This is likely to be a really fundamental/elementary ask but wondered if anyone can see what I cannot. I am writing a peice of code to do some motor control via PWM and part of the logic involves adjusting the baseline duty cycle +/- with a correction factor depending on measured deviation from a se...
by Dakta
26 Jun 2020 20:47
Forum: mikroC PRO for PIC32 General
Topic: PIC32MZ Spi fun
Replies: 12
Views: 2794

Re: PIC32MZ Spi fun

Well even with a magnifying glass - I can't read the part number - I MUST be getting old.

However the datasheet for EN25Q80B seems to fit
by Dakta
26 Jun 2020 06:35
Forum: mikroC PRO for PIC32 General
Topic: PIC32MZ Spi fun
Replies: 12
Views: 2794

Re: PIC32MZ Spi fun

ooh - you might be onto something there. I kinda had faith in the part number on the pic fusion manual and was working religiously to the other components datasheet. I did just now look at the chip on the board but my eyes can't make it out so I'm going to have to get some brighter light and a magni...
by Dakta
25 Jun 2020 22:51
Forum: mikroC PRO for PIC32 General
Topic: PIC32MZ Spi fun
Replies: 12
Views: 2794

Re: PIC32MZ Spi fun

hmm. still no progress. there has to be a reason this doesn't work. full code listing attached (including PC side software), have to admit I'm rapidly losing patience with this, I can't believe this has become so much work! Incredibly frustrating, I didn't really want to supply the full code as it's...

Go to advanced search