���}������ ����58473���Pע�^���� |
---|
ARM���� |
1�� |
![]() |
���� ![]()
// pwm.cpp : Defines the entry point for the application.
// #include "stdafx.h" #include "EM9000_ISA_API.h" int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { // TODO: Place code here. float a=60.0; float b=0.0; while(1) { EM9000_PWMOUT( 0, &a, &b ); Sleep(40); b=b+0.1; if (b>=99.9) b=0.0; } return 0�� } ����Ո���³��������b=b+0.1��ʲô���ܳ��F���Σ���ֻ�д��ڵ���0.5�r�ſ��ԣ����ҳ��F�IJ��Ξ�ʲô����ƽ�����أ� |
�������� | ���� | �؏� ![]() |
x10 |
2�� |
![]() |
![]()
��ij�����һ��ѭ�h�O��PWM������ܵõ������IJ����ء��м�������Ĵ��a��
|
�������� | ���� | �؏� ![]() |