摘要: ``` include include using namespace std; // void num() // { // p[i] = p[i 1] + p[i 2]; // } int main() { int p[50]; p[0] = 1; p[1] = 2; for(int i = 3 阅读全文
posted @ 2018-11-26 11:20 ronnie14165 阅读(204) 评论(0) 推荐(0) 编辑
摘要: ``` #include "rtos.h"//加的库 Thread thread1;//外部声明 void servo1_thread() { while (true) { Thread::signal_wait(0x001); ... } } thread1.start(servo1_thread); th... 阅读全文
posted @ 2018-11-25 20:27 ronnie14165 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 本人用的电脑是外星人15,之前一直用legency启动,直到重装了下系统,并设为uefi启动,在这之后,在安装ubuntu的时候就识别不出固态硬盘了,,,我换了deepin和fedora都失败了,在选择安装位置的时候,尽管我已经给ubuntu在固态中准备了100G空间,但是它压根连这个盘都读不出来, 阅读全文
posted @ 2018-11-15 21:58 ronnie14165 阅读(2862) 评论(0) 推荐(0) 编辑
摘要: ``` git clone https://github.com/klugjo/hexo-theme-alpha-dust.git themes/hexo-theme-alpha-dust git clone https://github.com/codermarcos/dev-dark-theme.git themes/dev-dark-theme https://github.com/... 阅读全文
posted @ 2018-11-12 20:28 ronnie14165 阅读(161) 评论(0) 推荐(0) 编辑
摘要: ``` include using namespace std; int T, temp; int main() { scanf("%d",&T); while(T ) { scanf("%d",&temp); printf("%d\n",temp 1); } } include using nam 阅读全文
posted @ 2018-11-08 18:37 ronnie14165 阅读(130) 评论(0) 推荐(0) 编辑
摘要: ``` #include DigitalOut Aout(p5); DigitalOut Bout(p6); Serial pc(USBTX,USBRX); void item1() { Aout = 0; wait(0.01); Bout = 0; wait(1.5); } void item2() { Aout = 0; wa... 阅读全文
posted @ 2018-10-22 21:22 ronnie14165 阅读(223) 评论(0) 推荐(0) 编辑
摘要: ``` #include "mbed.h" #include "MCP23017.h" #include "WattBob_TextLCD.h" #include "TCS3472_I2C.h" DigitalOut myled(LED1); #define BACK_LIGHT_ON(INTERFACE) INTERFACE->write_bit(1,BL_BIT) #defi... 阅读全文
posted @ 2018-10-22 21:20 ronnie14165 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 本题来自8VC Venture Cup 2017 Elimination Round,tourist积分榜成绩最高的一场比赛中的第三题 题目大意,有n个数,组成的无向无权图,其中共有n 1条边。 题目第二行给出了n个数,每一个数字表示与第i(1 using namespace std; int ma 阅读全文
posted @ 2018-09-22 13:35 ronnie14165 阅读(168) 评论(0) 推荐(0) 编辑
摘要: microsoft project 语音识别 界面GUI设计,unity2 视频制作,素材采集 网站,微信等平台 阅读全文
posted @ 2018-09-06 11:41 ronnie14165 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 软件安装以及新建文件等不再赘述,博主用的Quartus 9.0,有需要私信。 module后面的模块文件名需要与项目文件名(something.v)一致。 推荐博文 assign专题 https://www.jianshu.com/p/5f777d5cd901 always描述时序逻辑电路 http 阅读全文
posted @ 2018-09-05 23:46 ronnie14165 阅读(136) 评论(0) 推荐(0) 编辑