Search found 12 matches

by NAGARSU5
06 Jan 2024 11:58
Forum: mikroBasic PRO for PIC General
Topic: Mingration from 18F4520 to 18F45K80
Replies: 2
Views: 283

Re: Mingration from 18F4520 to 18F45K80

Hi Ivan,

Ok thanks for the recommendation.

Best Regards,

Sutha
by NAGARSU5
05 Jan 2024 03:06
Forum: mikroBasic PRO for PIC General
Topic: Mingration from 18F4520 to 18F45K80
Replies: 2
Views: 283

Mingration from 18F4520 to 18F45K80

Hi Mikroe Team, I'm planning to migrate from 18F4520 to 45K80. so will be there any much changes required in terms of peripheral configurations?. Im prefer to maintain of the vcc at 5v. Please let me know. Or could you recommend any other processor which is closer to 4520 families for easy migration...
by NAGARSU5
02 Nov 2023 01:05
Forum: mikroBasic PRO for PIC General
Topic: Bit count funtion in 18F series
Replies: 6
Views: 681

Re: Bit count funtion in 18F series

Hi Filip,

Yes you're right. For example > 01011011 = So the result should be 5.

Best Regards,

Sutha
by NAGARSU5
02 Oct 2023 04:33
Forum: mikroBasic PRO for PIC General
Topic: Bit count funtion in 18F series
Replies: 6
Views: 681

Re: Bit count funtion in 18F series

Hi Filip,

Any updates for this?

Regards,

Sutha
by NAGARSU5
23 Sep 2023 05:38
Forum: mikroBasic PRO for PIC General
Topic: Bit count funtion in 18F series
Replies: 6
Views: 681

Re: Bit count funtion in 18F series

Hi filip,

The active bits are those true bits .

Best regards,

Sutha
by NAGARSU5
18 Sep 2023 03:32
Forum: mikroBasic PRO for PIC General
Topic: Bit count funtion in 18F series
Replies: 6
Views: 681

Bit count funtion in 18F series

Hi,

Is there any specific funtion code to count number of active bits in the register?. If have, please do share the codes or the library. Im doing one project, which requires to count the active bits and gets displayed on the LCD.

Thanks,

Sutha
by NAGARSU5
04 Jun 2022 11:16
Forum: mikroBasic PRO for PIC General
Topic: RTC DS3231 Read error
Replies: 2
Views: 1077

Re: RTC DS3231 Read error

Hi filip,

The reading looks stable after i replace soft_I2C with I2C1_Rd commands. Also thanks for the link sharing. :)
by NAGARSU5
30 May 2022 01:54
Forum: mikroBasic PRO for PIC General
Topic: RTC DS3231 Read error
Replies: 2
Views: 1077

RTC DS3231 Read error

Dear helpers, Im doing first RTC project based on DS3231 module. It works but sometimes the reading getting erratic and the values all goes to zero out of sudden. So im wondering is there any particular bits to turn on or off before the reading or is the DS3231 address to read is really correct. Kin...
by NAGARSU5
06 Jan 2021 05:28
Forum: mikroBasic PRO for PIC General
Topic: UART Receive error 18F4520
Replies: 2
Views: 788

Re: UART Receive error 18F4520

hi filip,

Yes its finally working. Thanks for the guide.
by NAGARSU5
03 Jan 2021 03:17
Forum: mikroBasic PRO for PIC General
Topic: UART Receive error 18F4520
Replies: 2
Views: 788

UART Receive error 18F4520

Hi, Im having issues whereby the PIC not working/ or just gets hanged after the data is received. I think there's coding mistake because uart interrupt taking place and I having some difficulties to clear up the appropriate bits. So anyone can help check and let me know the mistakes. FYI im new to P...
by NAGARSU5
23 Nov 2016 02:46
Forum: mikroBasic PRO for PIC General
Topic: RE0 analog stopped working when receive string 18f4550
Replies: 3
Views: 2534

Re: RE0 analog stopped working when receive string 18f4550

Here the codes. Well this is my first project involving of microcontroller. Correct me if i'm wrong. Thanks program MyProject ' Declarations section dim SW1 as sbit at PORTB.2' Trip value Decrease switch (S1) dim SW2A as sbit at PORTC.4' Digital/ Analog select dim SW2B as sbit at PORTC.5' On-board s...
by NAGARSU5
19 Nov 2016 05:36
Forum: mikroBasic PRO for PIC General
Topic: RE0 analog stopped working when receive string 18f4550
Replies: 3
Views: 2534

RE0 analog stopped working when receive string 18f4550

Hi,

my code is working fine. But only when start receiving the string via UART (RC7), the RE0 (AN5) just get hanged, and the analog value doesn't move on the LCD.So anything need to check on the configuration bits? FYI im using 18F4550. Thanks.

Go to advanced search