随着网络文化流行,一些网络烂梗让人不堪其扰,甚至有的孩子被网络烂梗“软霸凌”。最最重要的是作为做教育的我们这些老年人常常在各种生活角落被折磨
人民网也在注意这件事
那我们应该怎么样引导这些小花朵呢?
代码
# -*- coding: UTF-8 -*-
# MindPlus
# Python
from pinpong.libs.dfrobot_asr import DFRobot_ASR
from pinpong.extension.unihiker import *
from pinpong.board import Board,Pin
from pinpong.board import Board
import siot
siot.init(client_id="17332328938447228",server="10.1.2.3",port=1883,user="siot",password="dfrobot")
Board().begin()
siot.connect()
siot.loop()
siot.getsubscribe(topic="siot/同学1")
siot.getsubscribe(topic="siot/同学2")
siot.getsubscribe(topic="siot/同学3")
p_gravityasr = DFRobot_ASR()
p_gravityasr.begin(p_gravityasr.LOOP, p_gravityasr.MIC)
p_gravityasr.add_command("wo cuo le", 1)
p_gravityasr.add_command("ji ni tai mei", 2)
p_gravityasr.add_command("kong long kang lang", 3)
p_gravityasr.add_command("ao li gei", 4)
p_gravityasr.start()
CiShu = 0
_1 = 0
_2 = 0
_3 = 0
while True:
my_variable = p_gravityasr.read()
if (my_variable == 1):
p_p21_out=Pin(Pin.P21, Pin.OUT)
p_p21_out.write_digital(0)
CiShu = (CiShu + 1)
siot.publish_save(topic="siot/认错次数", data=CiShu)
if (my_variable == 2):
p_p21_out=Pin(Pin.P21, Pin.OUT)
p_p21_out.write_digital(1)
_1 = (_1 + 1)
siot.publish_save(topic="siot/同学1", data=(str(_1) + str((str(",") + str((str(_2) + str((str(",") + str(_3)))))))))
if (my_variable == 3):
p_p21_out=Pin(Pin.P21, Pin.OUT)
p_p21_out.write_digital(1)
_2 = (_2 + 1)
siot.publish_save(topic="siot/同学1", data=(str(_1) + str((str(",") + str((str(_2) + str((str(",") + str(_3)))))))))
if (my_variable == 4):
p_p21_out=Pin(Pin.P21, Pin.OUT)
p_p21_out.write_digital(1)
_3 = (_3 + 1)
siot.publish_save(topic="siot/同学1", data=(str(_1) + str((str(",") + str((str(_2) + str((str(",") + str(_3)))))))))
给大家道个歉,由于近期学校教务繁忙,时间紧张。只给大家留下了脑洞和破烂的作品,如果比赛延期的话会把作品完成,同志们加油。
石头剪刀布2023.12.07
鸡你太美
_深蓝_2023.10.16
666
不上课2023.09.19
ggg
少东2023.09.04
哈哈哈哈哈,很有趣的脑洞和演示,意犹未尽,这个菠萝跪的不冤。
hacker_2023.08.22
666