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 answers only not deleted user 35530

MPLAB® X IDE is an IDE to develop applications for Microchip microcontrollers and digital signal controllers.

3 votes

Malfunctioning voltage output in PIC16F84A

The diagram you show has no clock components, that alone is enough to keep it from doing anything. The configuration choices are: • LP Low Power Crystal • XT Crystal/Resonator • HS High Speed Crystal/ …
Spehro 'speff' Pefhany's user avatar
0 votes

Analog port reading issue in PIC12F510

This kind of thing is a bit annoying DelayMs(10); // 100 ms and doesn't match this Timing should be 1000 ms / 3000 ms / 5000 ms / 10000 ms. Where are you getting the pot comparison numbers from? 2 …
Spehro 'speff' Pefhany's user avatar
2 votes

Does anyone know if there is a way to increase the power of the PIC16F pin using MPLABX?

There should not be any difference in pin behaviour between compilers. XC8 emits a BSF PORTB, 0x4 and I assume Mikro would do the same if you used PORTB.B4 rather than PORTB.B5. The delays you have in …
Spehro 'speff' Pefhany's user avatar
3 votes
Accepted

Why can't I drive pin RA4 low on PIC16F1823?

You should always write to the latch (LATA4 in this case) and read from RA4, otherwise you can have issues because of the read-modify-write problem with writing to RA4, depending on what is connected …
Spehro 'speff' Pefhany's user avatar
1 vote

MPLAB X XC8 error expression is not assignable and invalid digit 'F' in octal constant

Perhaps you didn't write this code.. you've got constants for some other compiler (not xc8) mixed in there. Check out the pic16f883.h header file for the proper bitfield and other definitions for x …
Spehro 'speff' Pefhany's user avatar
0 votes
Accepted

PIC MCU PIC16F887 not working with external power

The power source has nothing to do with debug vs. release. You can set the debug tool to supply power or not. The debug release requires the debugger attached to the data and clock lines in order to r …
Spehro 'speff' Pefhany's user avatar
8 votes

How to include math.h on a PIC?

You should actually look at the math.h file and figure it out (tm). Also it would be helpful if you mentioned the actual PIC part number you're trying to use. To answer your actual question, you ar …
Spehro 'speff' Pefhany's user avatar
2 votes
Accepted

Which is better after rewriting the ROM on a PIC16F? A software reset instruction or a watch...

I would say your program is sub-optimal if you only read the calibration values once (at start-up). If you re-read them continuously you can avoid the need for a reset entirely and avoid the possibili …
Spehro 'speff' Pefhany's user avatar
2 votes

Maximum length of variable and function names?

Any limitation to the length of the identifiers is implementation-dependent, but the first 31 characters should be significant in a conforming implementation. To make that clear, it's okay to allow …
Spehro 'speff' Pefhany's user avatar