文件名称:example_1_dc
介绍说明--下载内容均来自于网络,请自行研究使用
// This program provides simple DC motor control using the PCA 8-bit PWM Mode.
// The ADC is used to read the potentiometer voltage on P0.6. The ADC uses
// polled mode and 64 sample averaging. The 8-bit PWM is configured to operate
// at 24 kHz. The PWM high-time varies from a minimum of 160 ns to a maximum of
// 100 .
// The ADC is used to read the potentiometer voltage on P0.6. The ADC uses
// polled mode and 64 sample averaging. The 8-bit PWM is configured to operate
// at 24 kHz. The PWM high-time varies from a minimum of 160 ns to a maximum of
// 100 .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
example_1_dc.c