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 not deleted user 44190

C is an imperative (procedural) systems implementation language. It was designed to be compiled using a relatively straightforward compiler, to provide low-level access to memory, to provide language constructs that map efficiently to machine instructions, and to require minimal run-time support. C was therefore useful for many applications that had formerly been coded in assembly language. from http://en.wikipedia.org/wiki/C_(programming_language)

1 vote
1 answer
937 views

PIC18 how to explain : you write bit 1 by making TRIS input

I'm reading 1_wire header file for PIC18 with C18 compiler. in the write_byte function, they specified that in order to write bit1; we make line input and that will take it high. can we specify high …
Lkaf Temravet's user avatar
2 votes
1 answer
147 views

Program memory question (working dispite insufficient memory)

I am writing this program to a Microchip PIC. char * we_are_display = "hello"; char ahimouz[2]; sprintf(ahimouz,"%s %s",we_are_display,"5"); WriteStringToLCD(ahimouz); This program works d …
Lkaf Temravet's user avatar
0 votes
3 answers
3k views

Run program directly with MPLAB X(PIC16F628A)

= 0; // LED off __delay_ms(1000); // Half sec delay LED = 1; // LED on } } MPLAB X output BUILD SUCCESSFUL (total time: 5s) Loading code from C: …
Lkaf Temravet's user avatar
2 votes
4 answers
3k views

External oscillator problem

I have this sample program to blink LED with PIC18F4550 using external oscillator. I'm using a 20.000 MHz crystal oscillator with 30pF capacitors. The problem is when I wire the capacitors the the …
Lkaf Temravet's user avatar
3 votes
2 answers
4k views

PIC18 xc8 compiler : how to resolve warning (335) unknown pragma "code"

I'm trying to compile this code to blink led with button interrupt, using xc8 compiler and PIC18F4550. I got those warning, so the code lines are ignored and the program doesn't work properly (by clin …
Lkaf Temravet's user avatar