This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************** | |
Name:KUAS-Hw/Hw05 | |
DATE:2016/03/29 | |
Final:2016/04/01 | |
By CharlotteHong | |
**********************************************************/ | |
//========================================================= | |
#include <iostream> | |
#include <stdio.h> | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
int main(int argc, char const *argv[]){ | |
char s[] = "tem45"; | |
char t[2]; | |
strncpy(t,s+3,2); | |
printf("tem=%c%c\n",t[0],t[1]); | |
int i=0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
#include <Wire.h> | |
#include <Timer.h> | |
#define BTTX 2 | |
#define BTRX 3 | |
#define Led 13 | |
#define ArduinoID 1 | |
SoftwareSerial I2CBT(BTTX,BTRX); | |
char str[128]=""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************** | |
Name:Input String Split Arduino | |
DATE:2016/05/16 | |
By CharlotteHong | |
**********************************************************/ | |
#define led 13 | |
char str[32]=""; | |
/* ================================================== */ | |
void setup() { | |
pinMode(led, OUTPUT); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Name :Ripiro_setter.ino | |
By :Charlotte.HonG | |
Date :2016/05/17 | |
Fimal :2016/05/18 | |
Update:https://goo.gl/bqZ9Nw | |
注意: | |
1. 設定時如果沒有反應可能需關閉電源,設定好再開啟電源測試 | |
2. 如想關閉功能,請將setter_active設定為0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************** | |
Name : | |
Date : 2016/05/19 | |
By : CharlotteHonG | |
Final: 2016/05/19 | |
**********************************************************/ | |
#include <iostream> | |
/*=======================================================*/ | |
using namespace std; | |
int element[]={5,-2,4}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************** | |
Name : sourse.cpp | |
Date : 2016/05/19 | |
By : CharlotteHonG | |
Final: 2016/05/19 | |
**********************************************************/ | |
#include <iostream> | |
/*=======================================================*/ | |
using namespace std; | |
int element[] = {5, -2, 4}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************** | |
Name : 副程式如何傳遞二維陣列 | |
Date : 2016/05/26 | |
By : CharlotteHonG | |
Final: 2016/05/26 | |
2021/4/18 作者留言 | |
不知道為什麼這篇突然在 "傳遞二維陣列" 的搜索排 top1 | |
幾年後的我又整理一篇比較詳細的,建議可以直接來這裡看。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************** | |
Name : | |
Date : 2016/05/29 | |
By : CharlotteHonG | |
Final: 2016/05/29 | |
**********************************************************/ | |
#include <cstdio> | |
#include <opencv2/opencv.hpp> | |
using namespace cv; | |
int main(int argc, char const *argv[]){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************** | |
Name : 簡化編譯指令 | |
Date : 2016/05/29 | |
By : CharlotteHonG | |
Final: 2016/08/12 | |
Info : | |
加入參數的方式並沒有防呆,僅在第一個導入參數後加入 | |
目前不曉得什麼狀況會不一樣,簡單編譯程式不會出問題 | |
如果出問題請自行修改,或改使用原始指令操作 |