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...
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...
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...
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...
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...
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...
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 ...