使用Arduino使用Tkinter时打开/关闭LED

时间:2019-02-23 03:41:27

标签: python tkinter led

[HttpPost("upload")]
public IActionResult UploadFile([FromForm(Name ="file")] IFormFile resultFile)
{
    if (resultFile.Length == 0)
        return BadRequest();
    else
    {
        using (StreamReader reader = new StreamReader(resultFile.OpenReadStream()))
        {
            string content = reader.ReadToEnd();
            //Removed code
        }
    }
}

我在接收整数时很难将其放入“输入”框中,以便操作“确定”按钮。我收到诸如RecursionError的错误:超出最大递归深度。我希望能够创建一个可以打开/关闭LED的功能,但我想知道为什么我的功能不允许放置在网格中的整数在放置1时打开。我尝试将var设置为Box_1和Button1,但收到错误信息,例如缺少位置参数。任何帮助或提示将帮助谢谢。

0 个答案:

没有答案