I try to connecte my single chip computer and display in slicer.
Can I use the Qthread in slicer to deal with the slow-problem? And is there any example for that?
You need to make sure that communication does not block the main thread for too long.
If you use serial (USB, RS-232,…) communication then you can use this work-in-progress Arduino extension for simple single-threaded serial communication implementation or Plus toolkit for multi-threaded, networked configuration (communicate with many Arduinos, potentially connected to other computers - not directly to the one that runs Slicer).