51 single chip microcomputer using keil uVision4 If there is a problem, the great immortal will sol

Updated on technology 2024-05-04
11 answers
  1. Anonymous users2024-02-09

    p is bigger, your { } is not paired, more or less one.

  2. Anonymous users2024-02-08

    Isn't 51 written directly, stm32 only uses library functions.

  3. Anonymous users2024-02-07

    fatal error l250: code size limit in restricted version exceeded

    module: d:\keil\c51\lib\ (limit: 0800h bytes

    There is no crack, there is an 800h byte limit.

  4. Anonymous users2024-02-06

    You don't have a registration, license management

  5. Anonymous users2024-02-05

    You've defined the delay function repeatedly in the and file! Just make it a little bit of a change.

  6. Anonymous users2024-02-04

    delay multiple definitions! Solve this problem first, and continue to hi me if there is a problem! Glad to help you!

  7. Anonymous users2024-02-03

    *The internal timing counter T1 is used to generate a timing clock, and there is a P1 port output signal to control 8 LED indicators (active at low level).

    The trial programming makes the 8 indicators turn on at a time, and each indicator lights are lit for 100ms

    #include

    #include

    #define uchar unsigned charuchar num=0;

    void main()}

    void time0() interrupt 1 interrupt does not need to be declared.

  8. Anonymous users2024-02-02

    It's sent to your mailbox, and if you don't understand, ask me again.

  9. Anonymous users2024-02-01

    Sent Written in C Don't know if you're full? My q is 71848205 one.

  10. Anonymous users2024-01-31

    This is a file that is automatically added for you when you build a project. Because the microcontroller boot does not start from main, but you write c** generally from main, and you need to perform a small assembly before main**. This document is that paragraph**.

  11. Anonymous users2024-01-30

    Startup file, automatically generated by keil.

Related questions
5 answers2024-05-04

If you really want to learn, you don't need to buy a development board. Find a minimal system board, then learn something, buy components and build small circuits by yourself. Run the electronic market by yourself, build the circuit by yourself, in order to know the problem, in order to learn something, buy a development board, according to the circuit on the manual, and then put the program into it, and then the program basically understands, this is not called learning... >>>More

10 answers2024-05-04

It should be that the bias resistor selection is not suitable.

16 answers2024-05-04

Scheduled interrupts, external interrupts?

9 answers2024-05-04

The method of using two timers is to use the timer t0 to control the frequency and the timer t1 to control the duty cycle. The general programming idea is as follows: the t0 timer interrupt makes an i0 port output high, and starts the timer t1 in the interrupt of the timer t0, and this t1 makes the io port output low, so that changing the initial value of timer t0 can change the frequency, and changing the initial value of timer t1 can change the duty cycle. >>>More

9 answers2024-05-04

This is normal, because the light on and off is driven by the low level of the single-chip microcomputer (as you can see from your program), and the high-low level load capacity given by the single-chip microcomputer is not very strong, that is to say, although it reaches the voltage, but the current is relatively small, and we write the same situation when we write programs. No problem, don't worry.