Posted on May 17, 2013 at 17:37The original post was too long to process during our migration. Please click on the attachment to read the original post.
''does anyone know how i can make one task wait, while the other is running?''
That would be in the documentation for whatever RTOS it is that you're using. You haven't said what RTOS you're using, but it looks like it might be something from CooCox? If it is, have you tried asking CooCox for support?
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
''ST ... have made up something similar to classes, called TypeDefs''
Actually, typdefs are a standard part of the 'C' programming language - nothing specifically to do with ST or their libraries. The particular typedefs here are 'C' structs which group together the settings used by a particular function - which saves having to specify a massively long parameter list, or having to call a whole string of functions to make settings individually.
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.