Use the DO of the photoresistor to output high and low levels, read the level value with the input of GPIO, and control the light on and off.However, the desired phenomenon is still not found. Moreover, Mingming turned off all the lights at the beginning, but it is still on. Here is the code
//control the input void ReadDeviceConfiguration() { unsigned int uiGPIOPort; unsigned char pucGPIOPin; unsigned char ucPinValue;
First, measure the output level of your IO, and then look at the lighting mode of your hardware LED lamp, whether the IO should be turned on for high level or low level.detailsreplyPublished at 16:01, May 16, 2019
Regardless of the input status, the control light turns on and off.See if it can be realized, but it can't.There is a problem with the initialization configuration. Go to modify the initialization.If it can be realized, check the input configuration and control output logic.
First, measure the output level of your IO, and then look at the lighting mode of your hardware LED lamp, whether the IO should be turned on for high level or low level.
I changed the server in the routine to my own, and the corresponding information was also changed, but the program serial port always output HTTPStatusCode: - 112, which I did not find an accurate answer on the Internet. Here are some of my programs.Thanks to the gods.
This chapter introduces the related concepts of software time theory.First, it introduces the time parameter related to RTOS scheduling, CETGETIPTRTDTPERSTNST. This article uses a clear figure to illustrate that [attach] 819953 [/attach] CET is the core execution time. CoreExecutionTime. Note that it refers to the core execution code time, but does not include the time spent by CPU processing to be preempted
On June 28, it was reported that the semiconductor manufacturer Nexperia recently announced that it planned to invest 200 million dollars (about 184 million euros) to develop the next generation wide band gap semiconductor products (WBG), such as silicon carbide (SiC) and gallium nitride (GaN), and build them in the Hamburg factory
On June 27, it was reported that the EU had made the latest progress in imposing tariffs on Chinese electric vehicles.According to overseas media reports, an insider revealed that the EU plans to slightly reduce the tariff increase on Chinese made electric vehicles, of which the additional tax rate of SAIC Group is reduced from 38.1% to 37.6%
On June 28, SK Hynix announced that the company has developed the "highest performance" SSD product in the industry - PCB01 for the end AI PC, which will provide 512GB, 1TB and 2TB capacities.It is reported that this PCB01 SSD not only continues SK
Live time: 14:00, July 3 (next Wednesday) How to make it safer, more reliable, more stable, and able to give consideration to fast charging?You have a chance to get a JD Card of 50 yuan!
This week's short edition brings you a super simple and super dry e-book - Dummies, the basics of power management!The content is easy to understand, the layout is comfortable and simple, and you can get the core knowledge of power management every minute.
The award winning live broadcast of the General Assembly: the latest functional safety traction inverter scheme: helping the car to improve its endurance and save costs!Be polite when making an appointment 10:00 - 11:00, July 4 (Thursday) Good gift is waiting for you!
Live time: 10:00-11:30 am, July 17 (Wednesday) Live broadcast theme: Molex Molex brings you the most detailed summary and interpretation of industrial communication