[NUC240] Servomotor Control

Post Reply
Posts: 135
Joined: 13 Mar 2020, 09:08

18 May 2020, 15:46

  • Application: NUC240 output PWM waveform for controlling servomotor
  • BSP Version: NUC230/240 Series BSP CMSIS V3.01.001
  • Hardware: NuEdu-EVB-NUC240 V1.0
PWM0 of NUC240 can output a 50Hz waveform to control a servomotor. If you rotate the wheel on NuEdu-EVB board, value of ADC0 could change. Then, high level of waveform
outputting form PWM0 changed from 1ms to 2ms. This waveform is just the signal control a servomotor.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1216110649

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests