Browse Source

update

master
zwsd 3 years ago
parent
commit
17699c97fd
  1. 2
      main/key.c

2
main/key.c

@ -22,7 +22,7 @@ void key_schedule()
if (gpio_get_level(KEY_REC) == 0)
{
/* code */
char *send_string = "{ \"order\": \"setPosition\", \"index\": 0, \"speedLevel\": 0, \"position\": 360, \"direction\": 1 }";
char *send_string = "{ \"order\": \"setPosition\", \"index\": 0, \"speedLevel\": 0, \"position\": 180, \"direction\": 1 }";
ESP_LOGI("Finny", "KEY_REC level 0");
while (gpio_get_level(KEY_REC) == 0)
{

Loading…
Cancel
Save