Search found 222 matches
- 23 Jul 2020 10:24
- Forum: mikroC PRO for PIC General
- Topic: problem with access to facilities
- Replies: 6
- Views: 1337
Re: problem with access to facilities
hello flip thanks for your help, but luckily I solved it, the problem was located in the cycles, apparently it was an error due to the ws array routine that did not enter the loading cycle of ws data #include "Z:\Shared Saves\Mikroe\1) Librerie\Drive Led\WS2812.h" Pixel WSdata[300]; Pixel t; const u...
- 23 Jul 2020 09:27
- Forum: mikroC PRO for PIC General
- Topic: problem with access to facilities
- Replies: 6
- Views: 1337
Re: problem with access to facilities
here is the project
- 22 Jul 2020 17:25
- Forum: mikroC PRO for PIC General
- Topic: problem with access to facilities
- Replies: 6
- Views: 1337
Re: problem with access to facilities
looking at my code the only problem is that WSdata does not receive the input data, therefore the WSarray function always writes 0 on the bus. struct pix { Byte Red; Byte Green; Byte Blue; }; typedef struct pix Pixel ; extern pixel WSdata[] ; extern const Pixel Colors[] ; extern const Pixel clear ; ...
- 22 Jul 2020 17:22
- Forum: mikroC PRO for PIC General
- Topic: problem with access to facilities
- Replies: 6
- Views: 1337
Re: problem with access to facilities
hello flip thanks for the reply, but the problem persists, as the parameters are not passed, so I am attaching the example that I am using #include "Z:\Shared Saves\Mikroe\1) Librerie\Drive Led\WS2812.h" Pixel WSdata[300]; Pixel t; const Word WScountLED = 300; unsigned int v, u; struct j{ int a; int...
- 22 Jul 2020 07:28
- Forum: mikroC PRO for PIC General
- Topic: problem with access to facilities
- Replies: 6
- Views: 1337
problem with access to facilities
hi to you, i ran into an ambiguous error of mikroc. I'm trying to write an array of structures, but strangely it doesn't give me access to it, or rather it gives me access as if it were an array or any variable. let me explain better, I wrote this example. struct j { int a; int b; } g, h [5]; if for...
- 20 Jul 2020 19:21
- Forum: mikroC PRO for PIC General
- Topic: spi doesn't work
- Replies: 14
- Views: 2880
Re: spi doesn't work
well, I finally solved it. I don't know if it was the fault of the library, maybe not, since after replacing the library, however, the code did not work. only after I noticed that maybe the difference was in the fact that the interrupt routine of timer2 was missing, even if it is not used by my libr...
- 14 Jul 2020 22:09
- Forum: mikroC PRO for PIC General
- Topic: spi doesn't work
- Replies: 14
- Views: 2880
Re: spi doesn't work
??????
- 06 Jul 2020 20:24
- Forum: mikroC PRO for PIC General
- Topic: spi doesn't work
- Replies: 14
- Views: 2880
Re: spi doesn't work
this is the mikrobasic library that works very well module WS2812_Lib include WS28xx_mod const Count_Led as word external dim Buffer as pixel external dim wspin as byte Sub Procedure Ws2812_Init(dim port as byte) Sub Procedure ResetCode() Sub procedure WS_SingleLed(dim red, green, blue as byte) Sub ...
- 06 Jul 2020 20:22
- Forum: mikroC PRO for PIC General
- Topic: spi doesn't work
- Replies: 14
- Views: 2880
Re: spi doesn't work
hi flip, then for both compilers i am using version 7.6. now I will never read spi operations since I use clc to combine the pwm with the spi data to obtain the communication protocol of the ws2812b. as I already explained to you my problem and that between the spi1_write function of mikroC and betw...
- 03 Jul 2020 08:43
- Forum: mikroC PRO for PIC General
- Topic: spi doesn't work
- Replies: 14
- Views: 2880
Re: spi doesn't work
pic18f47k42
- 01 Jul 2020 20:52
- Forum: mikroC PRO for PIC General
- Topic: spi doesn't work
- Replies: 14
- Views: 2880
Re: spi doesn't work
hi flip, there is no news about the difference between the two spi libraries ?? specifically the writing function ??
- 09 Jun 2020 18:25
- Forum: mikroC PRO for PIC General
- Topic: spi doesn't work
- Replies: 14
- Views: 2880
Re: spi doesn't work
sorry if I still disturb you, I would like to know what the difference is between the spi library of mikroC and mikroBasic.
- 07 Jun 2020 12:07
- Forum: mikroC PRO for PIC General
- Topic: Microchip Q-Series Compiler Support
- Replies: 7
- Views: 1892
Re: Microchip Q-Series Compiler Support
hello, I doubt that they will release an update for only two micro of the family, more than anything else they will wait for the whole family to be available, you could try to create the definition file only that then the internal libraries would not work
- 06 Jun 2020 17:02
- Forum: mikroC PRO for PIC General
- Topic: Microchip Q-Series Compiler Support
- Replies: 7
- Views: 1892
Re: Microchip Q-Series Compiler Support
http://ww1.microchip.com/downloads/en/D ... 00871C.pdf
if you read it is clearly written that the pic are in beta revision
if you read it is clearly written that the pic are in beta revision
- 06 Jun 2020 08:55
- Forum: mikroC PRO for PIC General
- Topic: Microchip Q-Series Compiler Support
- Replies: 7
- Views: 1892
Re: Microchip Q-Series Compiler Support
hello vu_nas I can answer you too, if you go on the pic of the Q series you will see that on the wrong datasheet it is written that the revision is still in beta phase so you have to wait for the revision A0, then a pic 18f45q43 and very similar to 18f47k42, change the dac than 8 bit and larger dma ...