# -*- coding: utf-8 -*-

#NeZha 
#实验效果：在哈士奇的屏幕上显示文字，清屏

import time
from pinpong.board import Board
from pinpong.libs.dfrobot_huskylens import Huskylens

Board("nezha").begin()

husky = Huskylens( bus_num = 2 )

#husky.command_request_knock()
#       Header	Header 2	Address	  Data Length	Command	 Checksum
#return 0x55	0xAA	    0x11	      0x00	    0x2E	 0x3E

husky.command_request_custom_text("DFRobot",25,52) #20字符限制

time.sleep(2)


husky.command_request_clear_text() #清屏
time.sleep(2)

