You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to convert a string to a buffer. An example use is when someone is sending a string over I2C, to a display for example. UART today has the option to take a string directly, I2C does not. We could just send a buffer to I2C but there is no way to convert a string to a buffer.
So, to send a string to an I2C display:
There is no I2C API to take strings.
There is no API to convert a string to a buffe, to then send the buffer to I2C.
The only way today is to manually loop and create a buffer from the string. This is a difficult use for teachers/students, plus this string to buffer can be used in other cases.
Btw, I believe the system has buffer to string, but not a string to buffer!
The text was updated successfully, but these errors were encountered:
There is no way to convert a string to a buffer. An example use is when someone is sending a string over I2C, to a display for example. UART today has the option to take a string directly, I2C does not. We could just send a buffer to I2C but there is no way to convert a string to a buffer.
So, to send a string to an I2C display:
The only way today is to manually loop and create a buffer from the string. This is a difficult use for teachers/students, plus this string to buffer can be used in other cases.
Btw, I believe the system has buffer to string, but not a string to buffer!
The text was updated successfully, but these errors were encountered: