2016年3月27日 星期日

寫一個 9x9 乘法表 for

// 1)利用  for Serial.print  Serial.println指令

int x=0;
void setup()
{
 Serial.begin(9600); 
}
void loop()
{
 for (int i=1 ;i<=9 ;i++)
  {
    for (int j=1 ; j<=9;j++)
     {
      x=i*j; 
      Serial.print (i) ;
      Serial.print ("\t") ;
      Serial.print ("*") ;
      Serial.print (j) ; 
      Serial.print ("\t") ;
      Serial.print ("=") ;
      Serial.print ("\t") ;
      Serial.println (x) ; 
      delay (500);     
     }
  }
}  

Hello world! for Arduino.


/*
  *Hello World! *
  * This is the Hello World! for Arduino.
   * It shows how to send data to the computer
*/
void setup()   // run once, when the sketch starts
{
Serial.begin(9600);
}  // set up Serial library at 9600 bps
void  loop()  // run over and over again
{
Serial.println("Hello world! for Arduino.  ");
// prints hello with ending line break }
Delay (500);    //delay 500ms

 }

2015年11月18日 星期三

電腦繪圖 段二題庫

電腦繪圖 段二題庫


下載點

或是

http://www.mediafire.com/view/ssos70kaqsgnzh7/%E9%9B%BB%E8%B7%AF%E7%B9%AA%E5%9C%96%E6%AE%B5%E4%BA%8C%E9%A1%8C%E5%BA%AB.pdf

2015年11月14日 星期六

實作練習作業4 (電路板1)

請下載MyDesign CH4 FIG4-12電路圖檔案 


下載點   MyDesign CH4 FIG4-12 圖中有3個元件外型圖 錯誤 


並參考以下網頁

http://alex9ufoexploer.blogspot.tw/2015/10/protel99se.html

從第7步驟 開始 (步驟1-步驟6 已經處理好了--畫電路圖步驟)

7) 新增一個電路板PCB (File ->New) 

 到


16) 完成的電路板如下 列印輸出 或是產生鑽孔


=============================


利用 View -> Board in 3D 檢視電路板 


完成後 mail alex9ufo@gmail.com


Node-Red --> MQTT --> Fuxa

Node-Red --> MQTT --> Fuxa      FUXA(一個開源的 Web HMI / SCADA 自動化監控軟體)的專案設定檔 。 這份設定檔完整定義了 HMI 監控畫面的 後端通訊(MQTT 連線、點位標籤) 與 前端網頁圖形介面(SVG 畫布...