Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I agree with Andre_Luis.
I recently did a button reading project using STM32 where in Proteus and to my surprise, it didn't work, I wasted a lot of time trying to find the error, which in fact didn't exist. When testing on physical hardware, the source code was worked perfectly.
So you should...
I dont know about the video that you mean, but you can read this:
https://developer.arm.com/documentation/101407/0537/Debugging
https://developer.arm.com/documentation/101407/0537/Dialogs/Project/Options/Debug
https://www2.keil.com/mdk5/simulation/
[moderator action: corrected text...
Go to Project, New uVision Project... Select your target...
Next window, tick Startup...
Click on button Resolve to solve problems...
You can use more drivers, if you prefer.
Click on OK button.
Now you must to add code:
You can rename Targer 1 and Source Group 1.
Inside the Source...
You can follow these steps:
1 - Remove the two files thats were wrong:
2 - Add again, like image below: (you can skip this step, if you prefer):
3 - And replace all comments that use // to /* and */ in UART.h file.
And comment the last line "void Output_Color(uint32_t newColor);".
The...
I've created this files!
Just added the .h file!!!
Simple question, you are using '' ( ' twice) or "?
Where stdio.h has been obtained?
Could you share the project?
For me, it works!!!
Pay attention ion line 10!!! You must have a clear line at the end (newline).
See if all files have this!!!
Don't forget to save all files!!!
Could anyone help me with a error in char function on Visual Studio C 2019.
#include <windows.h>
#include <iostream>
char *timeStamp();
int main(void) {
printf_s("%s", timeStamp());
return 0;
}
char *timeStamp() {
SYSTEMTIME t;
GetLocalTime(&t);
char buffer[35];
int...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.