def _send(self):
# TODO: does this need to be unblocking?
#dp.println("s {},{},{}".format(self.out_fill,int(self.out_buffer[0]),int(self.out_buffer[1]))) # debug
self.cs.send(self.out_buffer,length=self.out_fill)
self.out_fill = 0
self.out_last_sent = time.ticks_ms()
评论列表
文章目录