MPLAB IDE

Hi all,

I just started writing small applications in MPLAB IDE for PIC16F micr controllers. I tried to save the .C file (one of source files) into sourc files section of the project I created. Surprisingly, its getting saved i other files section. I tried with different versions of simulator whic gave same result.

Any suggestions from experts of MPLAB IDE???

Thanks and regards Aamer

Reply to
aamer
Loading thread data ...

Stupid question: Have you tried File->Save as...?

On my Windoze PC, this then lets me select a location, as well as a name.

Reply to
Richard Seriani

You mean it's not showing up where you expect it when you look at the .mcw window?

Have you selected a valid C toolsuite for this project?

Best regards, Spehro Pefhany

--
"it's the network..."                          "The Journey is the reward"
speff@interlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com
Reply to
Spehro Pefhany

source

in

reward"

formatting link

formatting link

Hi Sphero,

Thankyou for your reply. I didnt select any kind of toolsuite for C. Ho can I do it?

regards

Reply to
aamer

Wizard, starting from scratch, or Project->Select Language Toolsuite Best regards, Spehro Pefhany

--
"it's the network..."                          "The Journey is the reward"
speff@interlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com
Reply to
Spehro Pefhany

micro

saved

which

How

reward"

formatting link

formatting link

Hi Sphero,

Thank you for your guidance. I used C18 Toolsuite and now its working.

I have one more question. Where can I see the output of my program. wrote code for Hello World. The simulator is showing build succeed but no the output Hello world.

kind regards, Aamer

Reply to
aamer

It's "Spehro"

By default MCC18 sends printf output to the UART, so you have to enable the UART window in the simulator. Then you should be able to see your output.

Best regards, Spehro Pefhany

--
"it's the network..."                          "The Journey is the reward"
speff@interlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com
Reply to
Spehro Pefhany

Your PIC16F MCU is running your PIC18 code?

--
Dan Henry
Reply to
Dan Henry

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.