How can I get to the civic center from Luohu railway station
Real estate name: Nord center
alias: Nord financial center
bus line: Bus: 15, 38, 60, 64, 71, 76, 235
subway: 317m away from the public center station of line 4; 200m from Futian station of line 2
for comprehensive and timely real estate information, click to view
but this morning, I still think I should take a day off. My God, actually I think I should take two days off. So the first thing I did this morning was to call for leave. Although I'm not a good liar,
it's not hard to cheat penny. It's easier than cheating the boss
I thought about doing something to make me happy today, something I don't usually do. Nail care, foot care,
beauty and so on. But I still can't fight my own conscience. I know that although my home is a little far away from the company, I cheat everyone that I am ill and then go out openly. Maybe I will meet my colleagues at the end of the street
so I have to stay at home and turn on the boring morning TV in this cold January season (although I just got a useful show about marriage). I'm watching TV and eating cream puffs (this may be the last time I eat fat food, and I'll soon have a hell of a weight loss plan for my wedding). I'm thinking about whether it's time to invite a masseuse home to relieve my stress
I finally got it. The conscience condemnation brought by feigning illness is to make oneself dare not go out and waste a day in vain. Of course,
the more you have nothing to do, the less you want to find something to do. By two o'clock in the afternoon, I was bored, slow, aimless and sleepy
instead of going to bed directly, I drank a cup of strong coffee, took a shower and changed into clean clothes.
bus line: Line 4 → line 1, the whole journey is about 9.2km
1. Walk about 70m from Shenzhen civic center to civic center station
2. Take line 4, pass 1 station, and reach the Convention and Exhibition Center Station
3. Take Line 1, pass 7 stations, and reach Luohu station
4. Walk about 770m to the railway station
It's closer to Shenzhen station. You can take Line 1. See the figure below
bus line: Line 1, about 8.2km in length
1. Walk about 320m from the citizen square to the South Square to the Convention and Exhibition Center Station
2. Take Line 1, pass 7 stops to Luohu station
3. Walk about 340m to Shenzhen station
if precise delay is required, after setting the timer, cycle to query the timer status
if there are many transactions to be processed in the main loop of the program, that is, many functions to be called, then judging the global variables determines whether to call a function, and these global variables set their values through the timer interrupt function, then simple multitasking can be realized.
1, #include < reg52.h >
2, #define uchar unsigned char
3, #define uint unsigned int
4, sbit LED = P0^0; char T_Count = 0; invalid argument TH0 is equal to 65535 minus 50,000/256. TL0 = (65535-50000)%256; IU is equal to 0x82. TR0 is 1. while(1);}
5, void LED_Flash() interrupt 1 {TH0 = (65535-50000)/256; TL0 = (65535-50000)%256; If (+ T_Count = 20) {LED = ! LED; T_Count = 0;}
6, this procere shows the light and demise of LED for 1 second.
t = 1 / (12) × 106Hz × 1/12=1 μ S this is the shortest timing period. In order to extend the timer time, it is necessary to change the initial value of the timer and select the length of the timer appropriately (such as 8 bits, 13 bits, 16 bits, etc.). When the timer / counter works in the counting mode, the external signal is counted through pins t0 and T1, and the falling edge of the external pulse will trigger the counting. The counter samples the pin input level ring s5p2 of each machine cycle. If the sampling value of one machine cycle is 1, and the sampling value of the next machine cycle is 0, the counter will add 1. During the subsequent machine cycle s3p1, a new count value is loaded into the counter. Therefore, it takes two machine cycles to detect a jump from 1 to 0, so the maximum counting frequency of the external event year is 1 / 24 of the oscillation frequency. For example, if 12Mhz crystal oscillator is selected, the maximum counting frequency is 0.5MHz. Although there is no special requirement for the ty cycle of the external input signal, in order to ensure that a given level is sampled at least once before changing, the holding time of the high level and low level of the external counting pulse should be more than one machine cycle. When the CPU sets a certain working mode for the timer with software, the timer will run independently according to the set working mode, and will no longer occupy the CPU's operation time. Unless the timer overflows, the current operation of the CPU can be interrupted. The CPU can also reset the working mode of the timer to change the operation of the timer. It can be seen that the timer is a high efficiency and flexible component in MCU. To sum up, we know that the timer / counter is a programmable component, so before the timer / counter starts to work, the CPU must write some commands (called control words) to the timer / counter. The process of writing control word to timer / counter is called timer / counter initialization. During initialization, the working mode control word shall be written to the mode register, and the working status word (or related bit) shall be written to the control register, and the initial value of timing / counting shall be assigned. Now we put forward the format of the control word and your main functions with you in detail. The control register timers / counters t0 and T1 have two control registers tmod and TCON, which are respectively used to set the working mode of each timer / counter, select the timing or counting function, control the start-up operation, and serve as the symbol of the operation state. Another four bits in TCON register are used to interrupt the system.