Sparrow GPIO Communication Reference Code

Hello,

I am an extreme beginner to Blues products and DIY systems and am trying to utilize the Sparrow board in a project. After reviewing documentation, I am still finding it very challenging getting started. In particular, I am trying to collect data by receiving to the Rx pin of the Sparrow board for UART communication. I’ve looked on Github but unfortunately I can not find and example projects that utilize these functions. All I’ve really been able to do is locate the command:
HAL_UART_Receive_IT(&huart2, &Variable, xx);

I believe this function enters into an interrupt mode and waits for a signal in the Rx pin and saves it at the address of Variable. If this assumption is incorrect please let me know. Also if there are any example projects that use the UART functions that would also be greatly appreciated.

1 Like