Do C single-chip microcomputer programs


Description: It is a program that interacts with the microcontroller. The program can send the input parameter to the microcontroller, and then receive the processed data from the microcontroller, that is, the data data, and then draw a picture. At present, the transmission work of the single-chip microcomputer is not considered, and it is purely
from the point of view of the program, that is, the given data data is assumed.
There are four buttons in the format :
Save File: Save the data data used for the current drawing, as well as the input parameter.
Save as txt file.
Open File: Read the previously saved txt file, at this time, the previously drawn graph and input parameter
Parameter: an input array,
Run: if there is an array of data, draw a graph. Refresh the X-axis, Y-axis, refresh the Y-axis
according to the current value in the data of the array, the top of the Y-axis is the maximum value of the current in the array data, and the bottom is the minimum value of the current,
refresh X according to the initial E and final E in the input parameter Axis, with Final E on the far left and Initial E on the far right.

Top right button: close button, full screen button, zoom out button.

Conditions for Run: There must be an input parameter.
Run reports an error:
1. There is no input array. If there is no input, the X and Y axes will not be refreshed, and the box will pop up directly
. 2. A box will pop up, indicating that there is no data array.
But if there is no data data, (you can write an execution code for this, in fact, it is to detect whether the data is a null value, and then comment it out, because this error is not needed for the time being)

The data transmitted from the microcontroller is the voltage and current.
That is, data

http://www.daixie0.com/contents/13/1245.html

The core members of the team mainly include Silicon Valley engineers, BAT front-line engineers, top 5 master and doctoral students in China, and are proficient in German and English! Our main business scope is to do programming assignments, course design and so on.

 

Our field of direction: window programming, numerical algorithm, AI, artificial intelligence, financial statistics, econometric analysis, big data, network programming, WEB programming, communication programming, game programming, multimedia linux, plug-in programming program, API, image processing, embedded/MCU database programming, console process and thread, network security, assembly language hardware Programming software design engineering standards and regulations. The ghostwriting and ghostwriting programming languages ​​or tools include but are not limited to the following:

C/C++/C# ghostwriting

Java ghostwriting

IT ghostwriting

Python ghostwriting

Tutored programming assignments

Matlab ghostwriting

Haskell ghostwriting

Processing ghostwriting

Building a Linux environment

Rust ghostwriting

Data Structure Assginment

MIPS ghostwriting

Machine Learning homework ghostwriting

Oracle/SQL/PostgreSQL/Pig database ghostwriting/doing/coaching

web development, website development, website work

ASP.NET website development

Finance Insurance Statistics Statistics, Regression, Iteration

Prolog ghostwriting

Computer Computational method

 

Because professional, so trustworthy. If necessary, please add QQ: 99515681 or email: [email protected]

WeChat: codinghelp

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324644866&siteId=291194637