I am programming PIC18F4520, and using picos18 for multitasking. I need to control buttons with PORTB. I am using interrupts, b开发者_JS百科ut I am facing a problem.
When I declare a function that accepts const char* and I pass a string literal, I get a Warning: [2066] type qualifier mismatch in assignment
I\'m about to go through a Micro-Co开发者_如何学Cntroller project which controls a robotic arm. My problem is that @ MS Windows there are MikroElectronica (IDE: MicroC) compile .c to Hex put the hex i
i am using a PICkit2 Low Pin Count Demo board with a 16f690 chip. i have been able to write simple code to turn the LEDs on and off, but upon trying to utilize the push but开发者_如何学Cton to change
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this
I am programming PIC16f877 in MPLAB (using assembly). I have 4x4 switch panel. I can take inputs but I ca开发者_开发技巧nnot detect from which one of the switches it come.
I read the port RB7, and in the if a check the value. if there is output on RB7 I want that the led on my chip light up (led D1), but it burns all the time even when there is nothing connected to RB7.
I have literally no clue开发者_StackOverflow what it is. Wouldn\'t even know how to go about finding what it is.
I\'m using the picdem F184550, I want to read the value of the led, I\'m using the mplab ide v8.63 with a C compiler. but I don\'t have a idea how to interface with the port RB7 where my led with a re
I have written this program in mplab v8.63 with c compiler C18 on the pic 18F4550. if I press the button on my picdem (S3) and there is a led connected on RB5 (with a resistor) then the led goes on. W