I get problems using the Arduino Stone library to interface an Arduino Portenta board to a Stone display . I need to receive information serially from the device and I find an Arduino Stone library but , using it , I get error . How I can solve this problem ?. There are other library to get infomation by serial from the Stone display ?
Have you tried the library examples?
Show the sketch you are having errors AND show the errors. Also show your connections/wiring diagram.
Using the Arduino Stone Serial library , I get the error before the physical connection to the board Portenta . The error is
Citazione
\Arduino\libraries\arduino_lib-1.1.2\examples\Instructions_received_long_value\stone_receive_group.cpp: In function 'void case_data_text(char)':
stone_receive_group.cpp:566:51: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
char* widget_base = STONE_RX_BUF+base_offset+8;
~~~~~~~~~~~~~~~~~~~~~~~~^~
exit status 1
invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
Citazione
I give to you two sreenshot of the validation of the library example
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

