Larry (Mr. Prototype) on Nostr: I keep getting reminded not to depend on the example code provided with the CH32V ...
I keep getting reminded not to depend on the example code provided with the CH32V MCUs. Yesterday it was I2C - they don't include any logic to handle unresponsive devices, so instead of a timeout the code will hang forever. Fixed now in my projects 😃
Published at
2023-08-25 07:37:42Event JSON
{
"id": "1561c229dd83f0e06c1f8ca530530dd4f9d5302f5bab98396f57a1426c0e505c",
"pubkey": "5a6428039aef4a4150a9bcc00a76d932057ce0b2bb02cdb5dadcda5a19ac61b7",
"created_at": 1692949062,
"kind": 1,
"tags": [
[
"proxy",
"https://floss.social/users/fast_code_r_us/statuses/110949109781609930",
"activitypub"
]
],
"content": "I keep getting reminded not to depend on the example code provided with the CH32V MCUs. Yesterday it was I2C - they don't include any logic to handle unresponsive devices, so instead of a timeout the code will hang forever. Fixed now in my projects 😃",
"sig": "31fcce0bcbbd1ca63e5f3e6736c7e2ee1c6bdeaf2ffcb538b0e904f2e05f8935b8273c26491e16a02282ab0ed2b467e48d4ea4e9844f7ae0d7b8486aace0e55c"
}