Questions tagged as 'pic'

1
answer

bitWrite function code to use with PIC microcontroller

I am therefore an Arduino code for the PIC pro compiler MikroC. I came up with a part that contains the following: byte data[3]; // pulse the clock pin 24 times to read the data for (byte j = 3; j--;) { for (char i = 8; i--;) { di...
asked by 16.10.2015 / 21:29
0
answers

What is the maximum frequency supported by the PIC 16F877A microcontroller on the analog ports?

I am developing a project where data is sent to the analog ports of the PIC, but I would like to know how often the PIC can handle without losing data or end up having this data corrupted. PIC: 16F877A Crystal oscillator: 20 MHz     
asked by 28.10.2015 / 00:31
0
answers

What does a numeral prior to an operand in the parentheses mean?

I'm studying assembly, and I found codes to work with TFT / LCD displays, and did not find information about a specific instruction, it moves multiples of a long string from the data recorders to the address recorder, however the recorder addres...
asked by 17.10.2018 / 05:17
0
answers

dsPIC - How to receive a UART string only when calling a function?

I need to receive a string via UART on dsPIC30F4013 only when calling a function. The device connected to the RX sends information without stopping, but I need this information only a few times, so I need this information to be received only whe...
asked by 10.07.2018 / 16:13
0
answers

Microchip: ADC_GetConversion

I'm developing an alarm and the "actions" will be performed by voltage dividers (ADCconverter). voltdivneg = ADC_GetConversion(VOLT_DIV_NEG); voltdivpos = ADC_GetConversion(VOLT_DIV_POS); There are 3 states: STAND-BY, FAULT, and ALARM. Vout...
asked by 19.03.2018 / 15:46
0
answers

How to create log file with RFID sensor and DS1307 for PIC

I am doing a design of a dot-register that will use an SD card module (MMC), RFID Sensor MFRC-522 and a Real Time Clock (DS1307). These are just the main components, there is still the keyboard that will serve the menu that is in finalization. I...
asked by 14.03.2018 / 18:13