4D Displays Picaso Libraries
Geekshow Sat Jun 30, 2018 9:28 pm
I’m having some issues using the following libraries to enable my 4D Displays Picaso-based touchscreen LCD displays:
https://github.com/4dsystems/Picaso-Ser … no-Library
I can load the libraries without any issue, but as soon as I try the first command in their example the board keels over. I don’t have a debugger so can’t provide any more info sadly. I’ve highlighted the line below that I have experimentally determined that makes the board keel over, it’s likely this is the case as it is the first call to the library.
I’ve had a look through the library but not sure where to start. Help!
//Simple Demo that demonstrates 'print' and 'println' new functionality.
#define DisplaySerial Serial
//-------Picaso DISPLAYS-------
#include <Picaso_Const4D.h>
#include <Picaso_Serial_4DLib.h>
//use Serial0 to communicate with the display.
--------->>Picaso_Serial_4DLib Display(&DisplaySerial); <<------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FIRST PROBLEMS START WITH THIS LINE
//---------END-----------------
void setup() {
//For handling errors
Display.Callback4D = mycallback ;
//5 second timeout on all commands
Display.TimeLimit4D = 5000 ;
DisplaySerial.begin(9600) ;
........
.....
..
