判断MultipartFile是否为空,用null==voice为空、null!=voice不为空。判断List<MultipartFile>是否为空,用voice.size()==0为空、voice.size()>0不为空。 ...
分类:
其他好文 时间:
2019-12-28 11:42:11
阅读次数:
806
云信平台<?php/** * 手机号绑定 */class PhoneBind extends Controller{ //APP接入地址+接口访问URI protected $realUrl = 'https://101.37.133.245:11008/voice/1.0.0/middleNumb ...
分类:
其他好文 时间:
2019-12-23 13:35:08
阅读次数:
76
#include "REG52.H" #define const_voice_short 40 //蜂鸣器短叫的时间#define const_key_time1 15 //按键去抖动延时的时间#define const_key_time2 15 //按键去抖动延时的时间#define const_ ...
分类:
其他好文 时间:
2019-12-19 13:28:01
阅读次数:
124
# coding=utf-8 import pyttsx3 text='I love you 韩长菊' voice=pyttsx3.init() voice.say(text) voice.runAndWait() ...
分类:
编程语言 时间:
2019-12-18 21:37:59
阅读次数:
66
声明1个概念: 连按:就类似于遥控器的+ - 音量键 只要你按住不松手 他就一直 + 或 - 不连按:按下去 弹起来 这个过程算作是一次有效按键,如果按下去不弹起则不会进行任何操作 //按键处理函数 //返回按键值 //mode:0,不支持连续按;1,支持连续按; //0,没有任何按键按下 //1, ...
分类:
其他好文 时间:
2019-12-12 01:09:27
阅读次数:
98
/***12个按键,每一个按键都会让蜂鸣器发出“嘀”的一声, 同时按下S1和S12会点亮一个LED灯,同时按下***/#include "REG52.H"#define const_voice_short 40#define const_key_time 12#define const_key_ti ...
分类:
其他好文 时间:
2019-12-07 23:40:07
阅读次数:
182
use think\Validate; <?php namespace app\common\model; use think\Validate; use think\Db; class InvoiceRecords extends BaseModel { protected $table = 't ...
分类:
其他好文 时间:
2019-12-06 23:23:38
阅读次数:
209
The snow glows white on the mountain tonight; 今晚白雪在山上闪烁 Not a footprint to be seen; 一个脚印没有 A kingdom of isolation; 与世隔绝的国土 And it looks like I'm the q ...
分类:
其他好文 时间:
2019-12-06 09:27:16
阅读次数:
100
SGLTE:Simultaneous GSM and LTE,手机可以同时驻留在GSM和LTE网络中,打电话通过GSM网络进行,数据业务通过LTE网络进行。? SVLTE:Simultaneous Voice and LTE,手机可以同时使用CS域接听电话、使用LTE网络进行数据业务。 SGLTE和 ...
分类:
其他好文 时间:
2019-12-02 13:22:49
阅读次数:
110
#include "REG52.H"#define const_voice_short 40/* 调整抖动时间阈值的大小,,可以更改按键的触发灵敏度 去抖动的时间本质上等于累计定时中断次数的时间*/#define const_key_time12 20 //按键去抖动延时的时间void initia ...
分类:
其他好文 时间:
2019-12-01 11:40:26
阅读次数:
115