Home > other >  O STC8 series use ADC testing voltage value method
O STC8 series use ADC testing voltage value method

Time:09-16


A test program: use STC8 internal ADC how to test,
Concluded after compared with a number of custom external voltage, voltage is greater than the defined value LED1 lights, otherwise not bright,,,, and solution methods

CodePudding user response:

Has been solved, using official list OK

CodePudding user response:

Set up the ADC port,
Start the conversion,
If the conversion is complete, the ADC interrupt flag setting,
To detect the ADC interrupt flag,
If interrupt flag setting, take out the ADC register values,
And compare the value of your Settings,
Light or lamp

CodePudding user response:

reference worldy reply: 3/f
Settings ADC port,
Start the conversion,
If the conversion is complete, the ADC interrupt flag setting,
To detect the ADC interrupt flag,
If interrupt flag setting, take out the ADC register values,
And compare the value of your Settings,
Light or destroy the light

Thank you for your guidance!!

CodePudding user response:

Find someone to write program of the hardware is stc12c5024ad hardware, 2 slices ready with 22.1184 crystals with hc244 do 12 road input a 64 - bit dial the code switch do address input 4 tpic6b595 2 set of output a 485 and Siemens plc200 do credit to PLC program written 12 road by n address input count alarm display
QQ39084813
  • Related