Hi,
I want to light up the LEDs when I receive certain values of parameters in my C code from the Javascript. I tried adding:
rp_DpinSetState(RP_LED2, RP_HIGH);
to my rp_set_params() function, but it appeared to cause the application to crash and I got nothing back from the POST request. When I take that line out everything is fine. Is that the wrong way to do it? I wondered if I needed rp_init() but adding that to rp_app_init() broke that function too (actually I wasn't really surprised by that).
Thanks for any advice,
Mike.
Lighting a LED when a parameter is posted
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 87 guests