Most voted "pic" questions
12 questions
Sort by count of
-
32
votes1
answer512
viewsArduino I2C sends unexpected NACK
I’m wearing a Development board of microchip (explorer 16) with the pic24f128ga010 as Master and the Arduino as Slave. The PIC is sending everything right, but for some reason NACK for all the date,…
-
12
votes2
answers1209
viewsHow to manipulate bit by bit an integer in c or ccs?
I want to change a bit an integer variable in C/CSS for pic. Ex: change some bit to turn another number. 15 = 0b00001111 -> 0b00001101 = 13.…
-
5
votes1
answer65
viewsHow to use Bitconverter.Todouble bytes
I have an interface that sends a reference value to a microcontroller. I need to send the values in bytes because these values will be saved in the memory of the microcontroller. On the interface,…
-
2
votes0
answers129
viewsPointers to Functions
I’m facing a small problem with function pointers in a program for Microchip Pic Series 18 microcontrollers. The code displays the prototypes of two functions involved in the problem and a call to…
-
2
votes2
answers725
viewsSet PIC pin as input and output with CCS?
Good afternoon, I want to toggle a PIC pin set as output for input in the middle of running the program, and then turn the pin as output.
picasked 8 years, 4 months ago user39713 -
2
votes1
answer758
viewsProblem with menu + buttons + lcd
Hello. I’m having trouble making a program in C language with buttons, lcd (16x2) and a PIC18F4550. Below, I put the description of the program and the code I have so far, a keyboard filter and some…
-
2
votes0
answers160
viewsttyS0 Serial Communication Error
I’m utilizing terminal serial TTL communication with an Orange Pi One and a PIC16F628A. The program that is on the microcontroller is simple: if it receives the character '1' puts a bit at a high…
-
1
votes1
answer2122
viewsHow to create a driver to make my own usb mouse with PIC?
Hello, I’m trying to develop a mouse using a pic and instead of using an optical sensor usually used in mice I wanted to control using accelerometers. How do I create a Windows pro driver? It is…
-
1
votes1
answer375
viewsbitWrite function code for use with PIC microcontroller
I am therefore an Arduino code for the PIC pro compiler Mikroc. I arrived at a part that contains the following: byte data[3]; // pulse the clock pin 24 times to read the data for (byte j = 3; j--;)…
-
1
votes0
answers185
viewsC - Program recording PIC 18F4550 via USB
At first, I’m a layman when it comes to programming. Because of this, I am developing fast and easy programs to improve my knowledge gradually.. I have a development board of a PIC18F4550, with LEDS…
-
1
votes1
answer77
viewsHow does an led flash 1,100000 seconds with PIC?
I’m using the MPLAB IDE to simulate a flashing led for 1,100000 seconds. But I’m not getting it. It always goes for more or less. I wish you could give me a hint. Or some formula on how to calculate…
-
0
votes0
answers33
viewsWhat does a numeral before an operand inside the parentheses mean?
I’m studying Assembly, and I found codes to work with TFT/LCD displays, and I couldn’t find information on a specific instruction, it moves multiples of a long chain of data loggers to the address…