For example, this sketch compiles and
runs fine:
--
#include <string.h>
void test(u8 * packet) {
if (strstr((char *) packet, "ook"))
pprintf("'%p' contains 'ook'\n", packet);
}
void setup() {
Body.reflex('t',test);
}
void loop() { }
--
- Dave
Matt wrote:
> Just a reference. this compiles at least :)
>
>
>
> -Matt
>
>