Hi Filip,
I found the problem. Now it is work great.
Thank you
Search found 20 matches
- 21 Jan 2022 14:18
- Forum: PIC32 PRO Compilers
- Topic: mikroBootloader USB HID doesn't show the MCU on the device window.
- Replies: 2
- Views: 1403
- 08 Jan 2022 19:32
- Forum: PIC32 PRO Compilers
- Topic: mikroBootloader USB HID doesn't show the MCU on the device window.
- Replies: 2
- Views: 1403
mikroBootloader USB HID doesn't show the MCU on the device window.
Hello to every one, Maybe someone knows why "mikroBootloader USB HID" does not show the MCU on the device window? with microProg, I easily programmed this chip. I have to upload hex files by using USB. My PC is Ok, there is no problem with drivers on win 10. I tried to connect directly to USB 2 and ...
- 07 Dec 2021 20:23
- Forum: mikroC PRO for PIC General
- Topic: Division Problem mikroC PRO for PIC
- Replies: 10
- Views: 3805
Re: Division Problem mikroC PRO for PIC
right Filip
Thank you
Thank you
- 06 Dec 2021 21:49
- Forum: mikroC PRO for PIC General
- Topic: Division Problem mikroC PRO for PIC
- Replies: 6
- Views: 1233
Re: Division Problem mikroC PRO for PIC
Thank you paulfjujo!
the problem solved
4096.0
5.0
the problem solved
4096.0
5.0
- 03 Dec 2021 17:53
- Forum: mikroC PRO for PIC General
- Topic: Division Problem mikroC PRO for PIC
- Replies: 6
- Views: 1233
Re: Division Problem mikroC PRO for PIC
Yes, sure I use P18F45K80 and P18F26K80
- 03 Dec 2021 17:22
- Forum: mikroC PRO for PIC General
- Topic: Division Problem mikroC PRO for PIC
- Replies: 10
- Views: 3805
Re: Division Problem mikroC PRO for PIC
Yes, sure I use P18F45K80 and P18F26K80
- 02 Dec 2021 20:07
- Forum: mikroC PRO for PIC General
- Topic: Division Problem mikroC PRO for PIC
- Replies: 6
- Views: 1233
Re: Division Problem mikroC PRO for PIC
Hi I tried but it did not work My ADC is int type and it works well. from 0 up to 4096 1/4096 = 0.000244140625 Because of the problem with division, I decided to change the fraction to 4096^-1 will be this number 0.000244140625 the casting I tried as well, in my opinion, something is wrong with the ...
- 01 Dec 2021 20:15
- Forum: mikroC PRO for PIC General
- Topic: Division Problem mikroC PRO for PIC
- Replies: 6
- Views: 1233
Division Problem mikroC PRO for PIC
I have problem when divide float or double numbers on version 7.6 char txt2[15]; float Vout=0,Ks=0,Rt=0; Vout=my_adc(); // for example 512 Vout=Vout*5*0.000244140625; // Vout*(5/4096) here I got 0 only when multiplied it worked Rt=(SERIES_RESISTOR*Vout*0.2); //SERIES_RESISTOR = 10000 Ks=1-(Vout*0.2)...
- 30 Nov 2021 21:00
- Forum: mikroC PRO for PIC General
- Topic: Division Problem mikroC PRO for PIC
- Replies: 10
- Views: 3805
Re: Division Problem mikroC PRO for PIC
I also have problem when divide float or double numbers on version 7.6 float Vout=0,Ks=0,Rt=0; Vout=my_adc(); Vout=Vout*5*0.000244140625; // Rt=(SERIES_RESISTOR*Vout*0.2); //SERIES_RESISTOR = 10000 Ks=1-(Vout*0.2); Rt=Rt/Ks; sprintf(txt2, "%f", Rt);// get wrong number Mikroc pro for pic has problem ...
- 05 Aug 2019 20:01
- Forum: mikroC PRO for PIC General
- Topic: Error message 304, compiler 7.5
- Replies: 3
- Views: 1272
Re: Error message 304, compiler 7.5
Great, It worked
I only showed the file source, and it starts works again.
Thank you Jovana.
I only showed the file source, and it starts works again.
Thank you Jovana.
- 03 Aug 2019 14:07
- Forum: mikroC PRO for PIC General
- Topic: Error message 304, compiler 7.5
- Replies: 3
- Views: 1272
Error message 304, compiler 7.5
Hello,
After I updated from 7.2 to 7.5 I start to get this error during the compilation.
In the previous version, my project run well.
Does someone have an idea, why I get the message?
After I updated from 7.2 to 7.5 I start to get this error during the compilation.
In the previous version, my project run well.
Does someone have an idea, why I get the message?
- 10 Sep 2018 16:14
- Forum: mikroC PRO for PIC32 General
- Topic: PIC32MZ -> PBCLK2
- Replies: 6
- Views: 2901
Re: PIC32MZ -> PBCLK2
Hi Filip, Thank you very much for the assistance. I used your idea with PB2DIVbits.PBDIV = 0; I found that both PB2DIVbits.PBDIV = 0; and PB2DIVbits.PBDIV=3; must be written in the main section. The problem was that I wrote above the main. It fails in compiling the program. Now it is working! :D
- 08 Sep 2018 15:21
- Forum: mikroC PRO for PIC32 General
- Topic: PIC32MZ -> PBCLK2
- Replies: 6
- Views: 2901
Re: PIC32MZ -> PBCLK2
Hi Filip,
I integrated the PB2DIVbits.PBDIV into program code. However, I get an error while compiling a program.
Thank you
I integrated the PB2DIVbits.PBDIV into program code. However, I get an error while compiling a program.
Thank you
- 02 Sep 2018 15:39
- Forum: mikroC PRO for PIC32 General
- Topic: PIC32MZ -> PBCLK2
- Replies: 6
- Views: 2901
Re: PIC32MZ -> PBCLK2
Hi Filip, I tried the Edit-Project option, but I did not find the right category which related my topic. Do you know which section is relevant for PBCLK2 and PBCLK3? For example, I want that my UART (50MHz) will run with different clock than ADC (8 MHz). I also found here something interested: http:...
- 30 Aug 2018 10:19
- Forum: mikroC PRO for PIC32 General
- Topic: PIC32MZ -> PBCLK2
- Replies: 6
- Views: 2901
PIC32MZ -> PBCLK2
Hello guys,
I try to change the PBCLK2 and PBCLK3 frequency according to datasheet page 165
PIC32MZ1024EFH064
So, I found this PB2DIV.PBDIV in the datasheet but I get an error during the compiling the code.
if anyone has some ideas to solve the problems, please write me .
I try to change the PBCLK2 and PBCLK3 frequency according to datasheet page 165
PIC32MZ1024EFH064
So, I found this PB2DIV.PBDIV in the datasheet but I get an error during the compiling the code.
if anyone has some ideas to solve the problems, please write me .