Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 105624

The Microchip XC8 compiler is a C compiler that can target Microchip's PIC 10/12/16/18 range of 8-bit microcontrollers. A free version is available that offers less optimization than paid versions.

1 vote
1 answer
671 views

Turning on a led using PIC18F4550 and XC8 compiler

I am trying to run the simple hello world program for a PIC18F4550 using the XC8 compiler. I am really new on pic microcontrollers. …
Nau's user avatar
  • 525
3 votes
1 answer
4k views

PWM using XC8 compiler and peripheral libraries

I am trying to run the most simple example of PWM using a PIC18F4550, XC8 compiler and the libraries plib/timers.h and plib/pwm.h My code is the next: #include <xc.h> #include <plib/timers.h> #include … \v1.40\include\pic18f4550.h:4426: error: (1098) conflicting declarations for variable "_TRISCbits" (C:\Program Files (x86)\Microchip\xc8\v1.40\include\pic18f4550.h:3829) (908) exit status = 1 nbproject …
Nau's user avatar
  • 525
0 votes
1 answer
3k views

How to display variables in LCD using PIC18 and XC8 compiler

I am using a PIC18F4550 and I am compiling with XC8. …
Nau's user avatar
  • 525