Query related on MI-WI (sathirska)
Hi. I downloaded the MI WI library. In library it mentioned that it supports PIC18 controller. So I used PIC18f15k20 controller. When i Compiled it shows some errors. the Following procedure i followed...
View Articletype mismatch error with struct and array (littlehedgehog)
Hello,I'm facing the following problem.I want to create kind of a look-up table (don't know if this is the right word for my issue), for playing tones with a pic18f26k22. I use the PWM and to change...
View ArticleSPI for MCP3551 to communicate with PIC18f4620 (freelancer.p)
Hi all,I need some help in understanding how to use SPI for sending the data in MCP3551 to PIC.I am using MCP3551 in continuous conversion operation (2-wire). SDO pin is connected to RC1 on PIC and SCK...
View ArticlePHDC Thermometer (MauroMartins)
Hello all, first, I don't know if this is the right place to make this question, if not I kindly ask for someone to move it to the right place. For a recent project I need to use PHDC Personal Health...
View ArticleProblem with External Interrupt INT0 with PIC18F1320 (maxbl74)
Hi everyone,I am currently working with a PIC18F1320 and I would like to use the internal interrupt INT0. I send a TTL signal on RB0 with a frequency of 10 Hz. I just want to switch an output (RB3)...
View ArticleSample design required for PIC microcontroller based 1KV 3 phase inverter...
Hello,I am working on new project PIC microcontroller based 3 phase 1 KV inverter please provide me sample hardware design. PIC controller is used to generate 50 Hz sine waves with 120 Degree phase...
View ArticleNot able to send an sms from gsm modem. (keshav017)
I am using pic18f4550 and c18 compiler. I wrote a small code that will send a sms , this code works in proteus simulation(i connected GSM using COM port to proteus and when i run the same code it sends...
View Articlesection '.code_fxm3232.o' can not fit the section. Section (Sfiso112)
Hi,I am a beginner in microchip programming; I just downloaded BACNet-stack-0.8.2 from the internet using PIC18F6720. When I try to build it I’m getting this error.“MPLINK 4.35, LinkerCopyright (c)...
View ArticleUnipolar stepper motor control with CCP module (SwCharlie)
Good day With the PIC18F45K20 and C18 compiler, I am having issues setting up the CCP module as a PWM to pulse pin P1A and P1B (with the one pin high during the other one's low state). I read in the...
View ArticleCompiler / ICD3 issue (docmur)
Hey So I'm developing code for a board that coverts UART input to an RF output. This morning my code was working fine and I was able to debug it and all was good. Randomly a couple of hours later I now...
View Articlehelp regarding software i2c (freelancer.p)
Hello all, i am using software i2c to write to/read from eeprom. I am using external oscillator(10MHz) for the PIC and PLL is enabled.pin connections are RD0--SCL, RD1--SDA while trying to write using...
View ArticleProblem in writing data to sd card (josepheena)
Hi, I'm new to programming pics in C. Now I'm trying to write a program for writing some data to SD card. I'm using C18 compiler and Microchip's MDDFS. While compiling it shows the...
View ArticleMPLAB X ide v2.15 (manjulagraphic)
MPLAB XC8: http://www.microchip.com/forums/fb.ashx?m=827580..
View ArticleGet Program Code Size and Get Free Program Memory Size (alexvx)
Hello guys,I am using a PIC 18f26k20 and I want to use the free FLASH program memory for nonvolatile data storage (EEPROM is too small). Is there a simple way in C18 to find the end address of the...
View ArticleHEX file format (zodd)
Hello, I would like to have a better understanding of hex files. For example, on a PIC18f97J60, what is stored at the end of the file (generated when compiling with C18 V3.37)...
View Articleunderstand statement in stdio.h file (rocket42)
hello everyone!I read sdtio.h file and can't understand the following statements' mean:typedef unsigned char FILE; #define _H_USER ((FILE*)((int)-1))i can't know what is ((int)-1)?and after the two...
View ArticlePIC18F4550 USB LEDs control using CDC -Basic Demo - C18- PICDEM FSUSB + PC...
Hello everybody! In these days I am working on my project - controlling 6 LEDs using CDC Basic demo firmware and C# application all from Microchip Solutions v2011-07-14 libraries. I use rm18f4550 -...
View ArticleHow to disable the automatic context saving in C18 v3.47? (stdio.h)
I'm building a dispatcher for PIC microcontrollers to switch tasks saving their contexts. The dispatcher is triggered when an interrupt occurs. The problem is that the compiler I'm using (C18 V3.x)...
View Articleinput buffer overflow, can't enlarge buffer because scanner uses REJECT...
Hi all,I am very new to C , PIC programming. I have received the error "input buffer overflow, can't enlarge buffer because scanner uses REJECT". I googled about it and found that this error occurs...
View Articlecouldn't find the definition of the symbol... (freelancer.p)
hi all,I have created an extern variable in a file and included it in my main file..while building i am getting the error "Error - could not find definition of symbol 'serial_rcv' in file...
View Article