其實點解仲要玩ARDUINO??

本身佢似C CODE 但係又唔係C CODE.
寫個低能PROGRAM 落16K 野都可以唔夠寫的.
不如大家試下玩番正常版啦.
大陸班友仔D SOURCE CODE 都好齊下.
加上改用8K 的ATMEGA8/ATMEGA88 已經做到比ARDUINO 多好多的野喇.

唔好玩啦!
Arduino 不外是 ATMEGA8,168,328,1280

TOP

回復 2# ellishk97


    但是Arduino 太High Level execution 一定慢d

TOP

ARDUINO係比冇心學low level program既人去玩MCU,所以唔好咁計較啦

TOP

ARDUINO係比冇心學low level program既人去玩MCU,所以唔好咁計較啦
haro2003 發表於 2010-1-22 12:25


  唔好咁大聲話我啦

TOP

回復 4# haro2003
其實係唔係C LANGUAGE 就叫做LOW LV??
咁C++ 就已經係HIGH LV 喇??

TOP

回復  haro2003
其實係唔係C LANGUAGE 就叫做LOW LV??
咁C++ 就已經係HIGH LV 喇??
electronic_s 發表於 2010-1-23 00:52

唔係咁分ga
人類越易睇得明的我地叫high lv ,運行速度比較慢!!如 C, C++, C#, JAVA, VB.net etc...
人類睇唔明的我地叫low lv ,運行速度比較快,因為行machina code!!如 asm etc...

TOP

但係我自己都已經用緊C 來寫啦. 都好易睇呀.haha

TOP

真係要分既話,C 已經係High LEvel Language
ASSEMBLY  or Machine Code 果D先叫Low

TOP

1. Arduino 最核心其實係那個bootloader. 為何祗有那幾款AVR可用Arduino, 因為班大哥剩係將bootloader移植都那幾款AVR.

2. 你可以用Arduino既bootloader, 但唔用Arduino既Library及IDE

3. Arduino 既 programming language叫"Wiring" which is based on "Processing" invented by MIT Media Lab for the electronic arts and visual design communities.

i.e.  It's NOT optimized for speed, performance and feature.

另外, Arduino又無得自定義Interrupt Vector, 基本上廢左MCU既重點.

4. "Wiring" 有D syntax 似 C, 不過好多功能都無. C language既精粹"pointer"係唔support.

5. C language 係 high level language, 不過有許多feature (e.g. pointer, boolean arithmetic), 所以C lanugage可以做System Programming, e.g. OS programming, Driver programming.

基本上startup code及部分C無既指令(e.g. NOP and some very special DSP instruction) 用assembler寫比較好之外, 我睇唔到點解仲要用assmebler....

TOP