Donate Share

FreeRTOS Real Time Kernel

Subscribe

PWM+ADC+Atmega128+FreeRTOS problem.

You are viewing a single message from this topic. View all messages.

  1. 2009-11-16 09:15:13 UTC

    Not sure I can really help, don't know about AVR specifics, but it looks like your ADC0() task is polling the ADC. If this task is not the lowest priority task then no tasks of lower priority will ever run. It would be best to make it event driven so it only runs when there is an adc reading to process.

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.