Rename to car radar.lua

This commit is contained in:
Paul Dino Jones 2025-03-25 14:03:58 -04:00
parent f87fe218d0
commit e75c57636a
2 changed files with 2 additions and 1 deletions

View File

@ -57,8 +57,9 @@ int main()
int result = 0;
unsigned int timeout = 2000;
result = check(sp_blocking_write(port, &bytes1, bufsize1, timeout));
sleep(2);
result = check(sp_blocking_read(port, &recv_buf1, recv_bufsize1, timeout));
sleep(2);
char numstr[recv_bufsize1];
for(int j = 0; j < recv_bufsize1; j++)
{