Search found 1785 matches
- 05 May 2024 19:49
- Forum: mikroC PRO for PIC General
- Topic: DISPLAYING unsigned long integer on GLCD
- Replies: 2
- Views: 36
Re: DISPLAYING unsigned long integer on GLCD
LongWordToStr ?
- 08 Apr 2024 17:53
- Forum: mikroBasic PRO for PIC General
- Topic: LCD libray with PIC18f26k83 64Mhz internal
- Replies: 9
- Views: 279
- 07 Apr 2024 13:08
- Forum: mikroBasic PRO for PIC General
- Topic: LCD libray with PIC18f26k83 64Mhz internal
- Replies: 9
- Views: 279
Re: LCD libray with PIC18f26k83 64Mhz internal
There is a bug in the MikroE file PIC18F26K83.c Needs MikroE to fix No definitions for RB0_bit or RB1_bit sfr unsigned short volatile PORTB absolute 0x3FCB; const register unsigned short int RB2 = 2; sbit RB2_bit at PORTB.B2; const register unsigned short int CCP2_PA2 = 3; sbit CCP2_PA2_bit at PORTB...
- 12 Dec 2023 00:36
- Forum: mikroC PRO for PIC General
- Topic: Send Interger data over UART1_Write_Text
- Replies: 5
- Views: 570
Re: Send Interger data over UART1_Write_Text
You need to turn off watchdog timer in project configuration bits
- 10 Nov 2023 16:45
- Forum: mikroC PRO for PIC General
- Topic: PIC16F1827 stuck in any_Timer Interrupt
- Replies: 2
- Views: 332
Re: PIC16F1827 stuck in any_Timer Interrupt
You have not set port B to output
You have not configured OSCCON.
Working, tested project attached
You have not configured OSCCON.
Working, tested project attached
- 29 Oct 2023 19:10
- Forum: mikroC PRO for PIC General
- Topic: 18F16Q40 PIC MCU not present in MicroC v7.6.0 compiler MCU list
- Replies: 14
- Views: 1946
Re: 18F16Q40 PIC MCU not present in MicroC v7.6.0 compiler MCU list
Even Necto Studio only supports Q10 and Q43 PICs - and not in any way that is usable without some serious STK baggage +1 for using XC8 for PIC16Q40 and Q41 PICs -1 for using MCC while learning. It just complicates things for simple examples. Move to MCC when you get familiar and experienced. I can z...
- 25 Aug 2023 08:43
- Forum: mikroC PRO for dsPIC30/33 and PIC24 General
- Topic: Problem with Receive Interrupt in MikroC for dsPIC
- Replies: 3
- Views: 667
Re: Problem with Receive Interrupt in MikroC for dsPIC
1) The biggest problem is that you have failed to read a character out of the UART receive buffer on each interrupt. This will cause the buffer to fill after just a few characters. 2) It is a bad idea to have a delay within an interrupt. You might get away with it when manually typing in from a term...
- 11 Jul 2023 08:30
- Forum: mikroC PRO for PIC General
- Topic: 12F675 charge controller problem
- Replies: 2
- Views: 375
Re: 12F675 charge controller problem
My guess would be to change
ADC_Read(2)
to
ADC_Read(0)
Have not tried it yet
Welcome to the forum
ADC_Read(2)
to
ADC_Read(0)
Have not tried it yet
Welcome to the forum
- 30 Jun 2023 16:42
- Forum: mikroC PRO for PIC General
- Topic: Coulometer Time Remaining Not changing Instantly(SOLVED)
- Replies: 9
- Views: 1285
Re: Coulometer Time Remaining Not changing Instantly
Ah... I think I can maybe guess what you wanted....
You want to show time past 100%?
Makes no sense to me - this is just a confusing indication in my mind, but here it is anyway...
You want to show time past 100%?
Makes no sense to me - this is just a confusing indication in my mind, but here it is anyway...
- 30 Jun 2023 11:57
- Forum: mikroC PRO for PIC General
- Topic: Coulometer Time Remaining Not changing Instantly(SOLVED)
- Replies: 9
- Views: 1285
Re: Coulometer Time Remaining Not changing Instantly
Here is the next iteration of the code with AH greater than 32.767 AH fixed and forced settings menu for blank EEPROM
I could not make sense of your second code change, so I left it alone for you to implement
I could not make sense of your second code change, so I left it alone for you to implement
- 30 Jun 2023 01:06
- Forum: mikroC PRO for PIC General
- Topic: Coulometer Time Remaining Not changing Instantly(SOLVED)
- Replies: 9
- Views: 1285
Re: Coulometer Time Remaining Not changing Instantly
Updated code version attached
See comments at top of code to see what has changed
See comments at top of code to see what has changed
- 29 Jun 2023 02:27
- Forum: mikroC PRO for PIC General
- Topic: Coulometer Time Remaining Not changing Instantly(SOLVED)
- Replies: 9
- Views: 1285
Re: Coulometer Time Remaining Not changing Instantly
Attached is my attempt at a quick fix // status 29 June 2023 // // Only changes from original are : // 1 default to 18 AH if EEPROM is blank (as when programmed) // 2 formatting improvements // 3 timing display over-ridden with a new simpler function // // - will latewr provide a function for text p...
- 30 May 2023 09:20
- Forum: mikroC PRO for PIC General
- Topic: MikroC Pro - Abandonware?
- Replies: 17
- Views: 1504
Re: MikroC Pro - Abandonware?
I use PICkit4 with adapter AC164110 - works very well For quick update I may use Mikroprog and on-board ICD programmer directly with hex file - more fiddly and have to remember to recompile each time. Cannot help with TFT and MPLABX. Others will no doubt be using equivalent display, but I have not y...
- 28 May 2023 12:11
- Forum: mikroC PRO for PIC General
- Topic: MikroC Pro - Abandonware?
- Replies: 17
- Views: 1504
Re: MikroC Pro - Abandonware?
Any chance you could send me a function or two that you have developed - LCD, UART etc? I'd like to see how difficult they are to write. I thought I might write code for 2x16 LCD on EasyPIC Fusion V7 Only trouble is - there is no character LCD on-board What kind of LCD had you in mind? What connect...
- 24 May 2023 18:35
- Forum: mikroC PRO for PIC General
- Topic: undeclared identifier in expression
- Replies: 5
- Views: 598
Re: undeclared identifier in expression
There is better way: Use function prototypes at the top of your code. That way any order of functions is good Like this: // simple program for forum - a complete mess, but do not blame me - I did not write it // PIC16F877A with 8 MHz external 2-pin crystal // EasyPIC V7 board // I am trying to call ...