2008年11月7日 星期五

ViewPort 4.00 Test

2008-11-5

1. Install ViewPort 4.00
    執行 E:\Propeller\Tools\ViewPort\ViewPort setup400.exe. Install 到目錄 E:\Propeller\ViewPort400。Installer 在桌面建立捷徑。
    
 
2. 提供 6V 電源到 proto board,然後將 switch 切到 "1" 的位置。Switch 旁的 LED 會亮。
 
3. Click ViewPort shortcut to start ViewPort。選擇預先設定 tutorials 下的 01_Four Bit Counter, 然後按 "Load"。如下
 
    
 
  4. ViewPort 會 Compile 01_Four Bit Counter.spin  , 並 upload 到 Propeller 的 RAM 中,並連接上 Propeller 中執行 的 ViewPort object,出現下圖
    
 
    其中,
    (a) 為 cntr[0] 的 waveform,感覺不是 50% 的 square wave ?
    (b) 為 timescale,預設為 1ms。設定 timescale,是否會影響取樣速度及取樣數?
    (c) 為 ViewPort monitoring 的變數,io 和 freq
    (d) 可設定 變數 freq。但 freq 的意義及如何影響 counter?

This blog is mainly for personal use. If you feel offended by the contents, please drop me a message. 這個 blog 主要為個人使用,若你覺得內容有問題,請來信通知。 paul@paul-kang.com