Uart Break in C, works, but how?
Clock Loop
Posts: 2,069
Heres the c code that works to send a UART break.
I don't see how its doing that.
I don't see what wifi_start is doing that generates a UART break.
Chasing down c code is like Alice tumbling down the rabbit hole.
I am simply trying to do the same in SPIN.
I don't see how its doing that.
#include "wifi.h" int main() { wifi_start(31, 30, 115200, WX_ALL_COM); }
I don't see what wifi_start is doing that generates a UART break.
Chasing down c code is like Alice tumbling down the rabbit hole.
I am simply trying to do the same in SPIN.
Comments
Mike
Lol, I was attempting to do this and searching the net, these forums etc, for the word break, and those .h files...
I was looking for 1 hour, and didn't even think to search the api... GAH.. time for a outdoor humming bird viewing break.
SCREEEENS ARE ZOMBIFING ME....
This works to generate a break to the WX module.
Thats why the spin WX code wasn't working.
DEBUG output from WX debug pin.
YAAAY!
*moves notch one up. only 1 million more to go...
LOL, I still don't see where it puts the DI pin low for a bit in that c code.
Gah, I don't like C... I do like spin.
I hate spin but love C.
Mike
Until you told me that. I didn't look in the .c file because it wasn't a #include.
I clearly don't know enough about c to C. (see)
Mike