Most voted "microcontroller" questions
A microcontroller ( MCU) is a computer-on-a-chip, containing a processor, memory and input/output peripherals. It is a microprocessor that can be programmed for specific functions, in contrast to other general purpose microprocessors (such as those used on Pcs).
Learn more…10 questions
Sort by count of
-
5
votes1
answer400
viewsTimer break - PIC18F4550
Hello, I am a student of the Technical course in Mechatronics. My teacher passed a project to show the speed of a reduced CC motor, in RPM, in the Hyper Terminal. He said we need to use the timer…
-
4
votes2
answers767
viewsDifference between local variable VS global variable
In my micro controller classes the variables are always defined globally and very rarely locally and I would like to know why, because in my mind it makes a difference between being global or local.…
-
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
votes0
answers35
views18F45K22 - external interruption
One led is flashing every half second, while the other will only be access when I send a low level signal to RB0 on the microcontroller, I wonder if there is something missing, because I did exactly…
-
0
votes1
answer61
viewsDefinition of Macros with Indexing in C
Good afternoon, i wonder if in C has how to make the following definition of macro: #define EXEMPLO(1) a * c + b #define EXEMPLO(2) a + b + c #define EXEMPLO(3) b * c + a And then use indexing in…
-
0
votes1
answer78
viewsDebug STM32 in Eclipse
Does anyone know how thresh in Eclipse in real time? I have a firmware for microcontroller STM32 and wanted to see my variables changing over time without using breakpoint or something like that.…
-
0
votes1
answer44
viewsHow to store a word within a vector larger than the word
I declared a variable char SendDataCmd[256] which will store the commands sent from the computer to the microcontroller via UART. Commands have different sizes as for example RST, ADV ON e SET…
-
0
votes0
answers201
viewsUSB connection with Microcontroller in Visual Studio C#
I have a microcontroller programmed to send data on Visual Studio c# through the class USB Hid Net Class. I have the license to use the class already and the application ran normally on multiple…
-
0
votes1
answer118
viewsObject Orientation (SUPER HELP)
Here is a question that will require a more complete answer, will it happen? Note this script that simulates a person’s behavior. Class is Person and methods are the possible behaviors. Someone can…
-
-1
votes1
answer28
viewsGeneric mapping multiple numerical ranges
I’m writing a code, for making decisions on an 8bit microcontroller, an AVR. I get 8 range of double values, limited by Vf_max and Vf_min, I don’t know which will be the biggest in each track. As in…