We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set value ?
The text was updated successfully, but these errors were encountered:
please see how the led gets SET by the timer. Create an integer cJSON object and treat it in a similar way.
Sorry, something went wrong.
here ?
void led_intr() { int new; static uint32 oldtime;
if ( (oldtime+200)<(oldtime=(system_get_time()/1000) ) ) { //200ms debounce guard new=GPIO_INPUT(GPIO_Pin_2)^1; //get new state GPIO_OUTPUT(GPIO_Pin_2,new); //toggle gpio2.value->type=42; change_value( gpio2.aid,gpio2.iid,gpio2.value); send_events(NULL,gpio2.aid,gpio2.iid); }
}
yes
No branches or pull requests
How to set value ?
The text was updated successfully, but these errors were encountered: