• Varying dutycycle
    Hi, I am using cortex-M3. I need to generate a square wave using ADC values. Also i need to change the duty cycle. Already i have used timer program to generate square wave with 16ms of timeperiod...
  • Hardware PWM - vary the frequency
    I'm using a Philips P89C668 at 16MHz in 6-clock mode. I've got a piezo (with internal driver) on P1.3 (CEX0). I'd like to switch to a speaker and output PWM to get different tones. However, I can't find...
  • USB HID Control Transfer Speed Vary Issue
    Hi, Don't know if it is proper to post here. Currently I'm on a project with USB HID function. The function works well without any error except that the USB HID has speed vary issue. The speed will...
  • Having trouble varying pwm duty cycle
    need to control the position of a dc motor and the circuit is configured that 50% is stop.. higher is one direction and lower is the other direction.. Im using AT89C51CC03: im testing on two motors...
  • efficient packing
    First, I am using 7.5 so it is an old compiler, but that is the way it is. I have a number of bit variables that I am trying to pack into a byte. they are scattered all across the bit area volatile...