What is jin51sio?
Jin51sio is a program that automatically generates a single-chip serial communication operation function set.
Jin51sio is an API function set for single-chip microcomputer serial port operations.
What does jin51sio2 contain?
1.
Note: 1) host environment: Ubuntu10.102) Linux User: root1. install gcc-avr compiler 1.1 to start the "New Software Package Manager", enter "avr" in the search box, and choose to install three software packages: "binutils-avr", "avr-libc", and
Function Description:
Lcd1602 LCD display year, month, day, hour, minute, second, week, temperature, three buttons control time and date adjustment and alarm settings.
Three buttons:
1. "school Hour" key, adjust the second, minute, hour, week,
Function Description:
LCD1602 LCD display year, month, day, hour, minute, second, week, temperature, three buttons control time and date adjustment and alarm settings.
Three buttons:
1. "school Hour" key, adjust the second, minute, hour, week,
NOP null Operation Command
Syntax: NOP
Operand: None
Execution time: one instruction cycle
Execution Process: Except for consuming one instruction cycle, it has no impact. Therefore, it is usually used as a delay.
Status flag impact: None
Note: The
Add the content of the addwf W register and the content of the f Data Register
Syntax: addwf F, d
Operand: F is the low 7-bit address of the data register (0x00 ~ 0x7f)
D is the low 7-bit address of the destination register (0x00 ~ 0x7f)
When d = F,
Bit operation instructions
BCF data register refers to locating 0
Syntax: bcf f, B
Operand: F is the low 7-bit address of the data register (0x00 ~ 0x7f)
B is the data bit number (0 ~ 7)
Execution time: one instruction cycle
Execution Process: Clear
I believe that, as a beginner of stm32, everyone is learning by downloading routines from the official website. Now firmwave's latest version is 1.1.0, for http://www.st.com/stonline/stappl/resourceSelector/app? Page = resourceselector & doctype =
In the actual application of RFID, due to the large data volume, the customer needs to occupy multiple sectors and blocks. In the previous interface, only one block can be read for one interaction. When the data volume is large, interaction takes a
Single-chip microcomputer is not difficult programming problems! URGENT!!!!!!
Converts the 8-bit binary number in the R0 to 3-bit BCD, resulting in a 1002h~1000h (from high to low) unit of external RAM.
For example: At the beginning, the data in the
This article draws from http://blog.ednchina.com/likee/25421/category.aspx
We usually say that Keil's pure software simulation function is extremely powerful. to which extent is it powerful? In short, it can simulate almost all internal
In KeilCompileAfter the project is successful, the following bulid ouput window willOutputThe following is a piece of information:Program size: code = 6320 ro-Data = 4864 RW-Data = 44 Zi-Data = 1636Meaning:Code: YesProgramMediumCodeByte sizeRo-data:
(1) "F7": Compiling(2) "F9": Add/Cancel Breakpoint(3) "Ctrl" + "F5": Debug(4) "tab": Move selected content to the right(5) "Shift" + "tab": Move the selected content to the left of the whole(6) "Home": Move the cursor to the beginning of the line(7)
The commonly used debugging methods in single-chip microcomputer debugging include printf and simulation. printf is flexible but not easy to use.ProgramWill die badly;
A simple example:
Main Program Main. c
The key initialization is called
1. Define several variables to store the number of bytes of each data type.
# Include
Unsigned char a, B, c, d, e, f, g;
Main ()
{
A = sizeof (char );
B = sizeof (short INT );
C = sizeof (INT );
D = sizeof (long );
E = sizeof
In MDK configuration Stm32 project is a very troublesome thing, so directly apply engineering template, reduce the time spent. (here with Wildfire's M3 engineering template)
The configuration of a template is based on a relative path, so the
Problem descriptionKeil V4.72 upgrade to V5.1x, the original compiled through the project, the following error occurred:
. \libraries\cmsis\cm3\devicesupport\st\stm32f10x\stm32f10x.h (298): Error: #67: expected a "}
Cause analysisKeil V4.72
The composition of the ARM programThe "arm program" here refers to the program being executed in the arm system, not the bin image (image) file that is stored in the ROM, which is a clear note of the difference.An arm program consists of 3 parts: Ro,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.