Quantcast
Channel: MPLAB C18 Compiler
Browsing all 475 articles
Browse latest View live
↧

the PIC? (mariasmile509)

When setting the clock frequency of the PIC microcontroller do we have to set it in MPLAB or we can do it through software within the code using the OSCCON register?..

View Article


How to specify Codeoffset and ROM Ranges in C18 Compiler? (Tx_Rx)

Hi all,I'm building application using C18 compiler v3.47, device PIC18F4550, IDE MPLabX v4.05.I want to put USB Hid Bootloader from MLA, that will occupy device program memory 0x0000 - 0x1000. If we're...

View Article


Change debug temporary files folder (PICWisely)

Hi,working with MPlabX 3.26 / C18 3.40 / on windows 10When Im debugging a project , the compiler creates the files (COFF etc) in the Widnows' TEMP folder How can i change it so the files will be...

View Article

HLVD - 18F2620 (aldobrett)

Hello to everyone, I´ve been struggling with these problem for a couple days, I want to use de High Low Voltage Detect module. The reason is that I want my application to store some backup information...

View Article

Help interfacing SHT75 and 18F2550 (mimmevans)

Hi everybody, I need some help interfacing SHT75 and 18F2550... I am a newbie and I would have some ready code written for C18 working with PIC...please help me.....

View Article


2058 call of function without prototype for "random number seed"...

Hi all im currently using a pic18f4520 and im trying to use a random number seed which shows as this "srand(5);" to randomly generate numbers for a number guessing game but when I clicked build all it...

View Article

using C18 to create a number guessing game (masterofdoom007)

Hi all Im am right now using p18f4520 to attempt a number guessing game for my school project and i want to mention that i am still relatively new to programming and this is my first time attepting...

View Article

Variables in computation error (ceejay)

Hello! I have a problem in coding in MPLab. I want to convert a hex value (this is from my input) and use it for computations. To do that, I think I need to convert it to text first and then convert it...

View Article


passing a constant fo function fails (Gunter)

Hi, I am working with MpLab C18 V3.45. I use this compiler since many years and had some fun with lot of bugs. Now I detected a very strange behavior. I have a function to write to the internal EEPROM...

View Article


PIC18F67J94 - USART RX issue (JanMetos)

Hi, I have a trouble with USART RX channel. I think i really tried everything i could do, i don't have any clue, what is wrong.I have a lot of projects behind me with PIC18F97J94, PIC18F87K20,...

View Article

How to set TIMER0 to give an interrupt exactly every 1 second? (Play38)

Hello, I am programming on a PIC18F Starter kit (PIC18F67J50) and I've been trying to figure out how to make it inturrupt exactly every 1 second. I've been to see if it's possible via only the Prescale...

View Article

Unable to Wakeup after SLEEP with TIMER0 interrupt (kj6666)

Target - 18F67K40 MPLAB X IDE v4.10XC8 v2.0 I'm trying to wakeup the micro from sleep with timer0 interrupt. With the debugger connected to the target, I can verify that it goes into sleep, but will...

View Article

UART stops working after Wake up from Sleep (kj6666)

Target - 18F67K40 MPLAB X IDE v4.10 XC8 v2.0 I'm using SMT(Signal Measurement Timer) peripheral as a 24 bit counter. I have a GPIO toggling that is input to SMT pin(PortE pin7). SMT functions correctly...

View Article


How to define EEPROM data in C18 compiler? (blechman)

Hello, I searched the Post for help, but couldn't even find the search term 'eprom'... so I hope this hasn't already been covered. I can't seem to find out how to specify EEPROM data content for the...

View Article

connect DS18b20 on PIC-WEB Board with 18F67J60 (Giorgio78)

Hello Some body can help me? I want to connect 2 or more ds18b20 (1-wire bus) to the Pic-web board Rev.3 with PIC 18F67J60 on board. I am looking for a sample code for read 2 ds18b20 and watch into a...

View Article


I2C Problem with 18F46k22 (Gunter)

Hello, I am working with an older Version of MPLAB (8.73a), MCC 3.45 and a 18F46k22 . I converted an older project from an 18F8722 to 18F46k22, and have a strange problem.All the I2C functions are...

View Article

Change debug temporary files folder (PICWisely)

Hi,working with MPlabX 3.26 / C18 3.40 / on windows 10When Im debugging a project , the compiler creates the files (COFF etc) in the Widnows' TEMP folder How can i change it so the files will be...

View Article


How to work the library CustomSNMPApp.c? (Nest)

Hi all, I'm spanish, my english no is good and sorry but this :(I'm use the library TCP/IP in a PIC 18F67J60 and work bery fine but the demo CustomSNMPApp I don't understand how I use that library. I...

View Article

Any way to get a copy of the paid version of C18? (k5xh_mark)

I have a product that uses a PIC18F2321. The design is over ten years old. It was written in the C18 full version. The author of the code has long since departed. I have the source code but not the...

View Article

[Resolved] Reserve memory for 200-byte array (jorgeuchip)

Best Regards: I use Mplab C18 compiler v3.47 and MplabX IDE v5.00. I have loaded TCP/IP project, I add in the MainDemo.c the follow:char Buffer; file1.c :extern char Buffer;void MyFunc(void){...

View Article
Browsing all 475 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>