You should already have, or will need to gain, knowledge of the Pico-series C/C++ SDK and writing embedded code for the Pico-series devices.
You will find a Hello, world! example that writes to the display. Also, the PicoCalc.md file states that you use this driver to connect studio functions to the display and keyboard and other things.
If you want finer control over the initialisation of the hardware, then you need to read the source code of the PicoCalc driver (that is even more documentation!) and initialise the hardware as you need.
So, I took a look at the initialization section of the display.c driver, and I found this:
//
// Display Initialization
//
void display_init(led_callback_t led_callback, bell_callback_t bell_callback)
{
display_led_callback = led_callback; // Set the LED callback function
display_bell_callback = bell_callback; // Set the bell callback function
lcd_init();
}
Theoretically, If I do Display_init(NULL, NULL); Will it initialize properly?
I have flashed your V0.8 .uf2 file for the pico2_w and it works completely fine, which now confuses me. Is the code for the .uf2 included as one file, or is it building multiple files together, and if so, which ones?
Honestly, if you want programing help from the community, you really should open the source to the community. Itâs kind of hard to debug with a Ouija board.
I admit that Iâm still looking at this post to see how far we can dig into the absurd! :â)
Stop asking for help and spamming the forum if you cannot contribute to the effort on your part.
Want help? Share the code (the main(), or others functions related to the issue). No? Pay somebody to debug your code in private. Still no? Learn and figure it out by yourself!
We help each other, but donât take us for granted. We probably all KNOWING youâve just copied code from somewhere, replaced some strings by âmade by Astroxâ, and make it compile (not sure about this step).
To get your drivers properly integrated into my OS, do I need to understand your whole code? Like all of the driver code, not just section of it, like the init parts?