Receive data from server, then display the data on the OLED screen

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Dear sirs,

      In our project, we have a thead receiving data from server every 10 secs. We need to show the data on the OLED screen immediately when received. I am not familiar with u8glib, We want to ask for advice how to design the display thread or api?

       Thanks a lot.

0 Likes
1 Solution
RaktimR_11
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

You can refer to the display examples present in SDK (43xxx_Wi-Fi/apps/snip/graphics/hello/hello.c) to understand how to use u8glib. For your application, you can register a timed event using wiced_rtos_register_timed_event API and setup the callback to run in your server networking thread.

View solution in original post

1 Reply
RaktimR_11
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

You can refer to the display examples present in SDK (43xxx_Wi-Fi/apps/snip/graphics/hello/hello.c) to understand how to use u8glib. For your application, you can register a timed event using wiced_rtos_register_timed_event API and setup the callback to run in your server networking thread.