Mercurial > hg > beaglert
diff include/Utilities.h @ 56:3c3a1357657d newapi
Further API update to name three primary functions setup(), render() and cleanup(). Changed include paths so now can #include <BeagleRT.h>. Removed stale pru_rtaudio.bin file as this is now done as pru_rtaudio_bin.h. Updated examples to new API and fixed minor compiler warnings along the way. Network example needs further attention to compile.
author | andrewm |
---|---|
date | Wed, 15 Jul 2015 12:10:51 +0100 |
parents | 579c86316008 |
children | 74a44c3d91f0 |
line wrap: on
line diff
--- a/include/Utilities.h Mon Jun 15 18:16:00 2015 +0100 +++ b/include/Utilities.h Wed Jul 15 12:10:51 2015 +0100 @@ -16,8 +16,8 @@ #define changeBit(word,bit,value) ((clearBit((word),(bit))) | ((value) << (bit))) #if 1 -// Note: pinMode(), analogWrite() and digitalWrite() should be able to be called from initialise_render() -// Likewise, thread launch should be able to be called from initialise_render() +// Note: pinMode(), analogWrite() and digitalWrite() should be able to be called from setup() +// Likewise, thread launch should be able to be called from setup() // Also, make volume change functions callable from render() thread -- as an aux task? float analogReadFrame(BeagleRTContext *context, int frame, int channel);