10 لایک
-
دوستان تا به حال با تایمر های خود میکرو ثل تایم 1 کار کردید؟
من از تو خود سایت آردوینو در مورد تایمر یک یک صفحه و چند تا برنامه دیدم که آخرش هم اینو نوشته بود:
Basic Usage
The timer is configured to repetitively measure a period of time, in microseconds. At the end of each period, an interrupt function can be run. The PWM pins can also be configured to switch during a portion of the period.
If using TimerThree, replace "Timer1" with "Timer3".
Configuration
Timer1.initialize(microseconds);
Begin using the timer. This function must be called first. "microseconds" is the period of time the timer takes.
Timer1.setPeriod(microseconds);
Set a new period after the library is already initialized.
Run Control
Timer1.start();
Start the timer, beginning a new period.
Timer1.stop();
Stop the timer.
Timer1.restart();
با توجه ب این توصیحات این تایمر هم stop داره هم reset اما من نمیدونم چطور باید ازش استفاده کنم
یعنی نمیدونم این پایه رو چطور رو lcd نمایش بدم
لطفا اگه میدونید کمکم کنید
مرسی
ویرایش توسط ss13 : 05-28-2015 در ساعت 08:18 AM
مجوز های ارسال و ویرایش
- شما نمیتوانید موضوع جدیدی ارسال کنید
- شما امکان ارسال پاسخ را ندارید
- شما نمیتوانید فایل پیوست کنید.
- شما نمیتوانید پست های خود را ویرایش کنید
-
مشاهده قوانین انجمن
SEO by vBSEO