首頁(yè) > 評(píng)測(cè) > Python初見(jiàn)之V702

Python初見(jiàn)之V702

  • 作者:jully
  • 來(lái)源:21ic
  • [導(dǎo)讀]
  • 簡(jiǎn)言之,Python是一種面向?qū)ο蟮慕忉屝陀?jì)算機(jī)程序設(shè)計(jì)語(yǔ)言,是純粹的自由軟件, 源代碼和解釋器。Python遵循 GPL(GNU General Public License)協(xié)議[2] 。它具有豐富而強(qiáng)大的庫(kù),常被昵稱(chēng)為膠水語(yǔ)言。能夠把用其他語(yǔ)言制作的各種模塊(尤其是C/C++)很輕松地聯(lián)結(jié)在一起,應(yīng)用于任何平臺(tái),而且還有我們最喜歡的開(kāi)源 、免費(fèi)噢!

幾年前做項(xiàng)目時(shí)第一次聽(tīng)說(shuō)Python,朋友強(qiáng)力推薦。對(duì)于這位老大,我?guī)缀趺看魏婉雎?tīng)完指導(dǎo)后的第一件是就是百度剛才那些我不聽(tīng)不明白的專(zhuān)業(yè)術(shù)語(yǔ)。

Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.

Some of Python's notable features:

· Uses an elegant syntax, making the programs you write easier to read.

· Is an easy-to-use language that makes it simple to get your program working. This makes Python ideal for prototype development and other ad-hoc programming tasks, without compromising maintainability.

· Comes with a large standard library that supports many common programming tasks such as connecting to web servers, searching text with regular expressions, reading and modifying files.

· Python's interactive mode makes it easy to test short snippets of code. There's also a bundled development environment called IDLE.

· Is easily extended by adding new modules implemented in a compiled language such as C or C++.

· Can also be embedded into an application to provide a programmable interface.

· Runs anywhere, including Mac OS X, Windows, Linux, and Unix.

· Is free software in two senses. It doesn't cost anything to download or use Python, or to include it in your application. Python can also be freely modified and re-distributed, because while the language is copyrighted it's available under an open source license.【1】

簡(jiǎn)言之,Python是一種面向?qū)ο蟮慕忉屝陀?jì)算機(jī)程序設(shè)計(jì)語(yǔ)言,是純粹的自由軟件, 源代碼和解釋器。Python遵循 GPL(GNU General Public License)協(xié)議[2] 。它具有豐富而強(qiáng)大的庫(kù),常被昵稱(chēng)為膠水語(yǔ)言。能夠把用其他語(yǔ)言制作的各種模塊(尤其是C/C++)很輕松地聯(lián)結(jié)在一起,應(yīng)用于任何平臺(tái),而且還有我們最喜歡的開(kāi)源 、免費(fèi)噢!

如果不想每天面對(duì)計(jì)算機(jī)如此的多國(guó)語(yǔ)言,不如選一兩種通用語(yǔ)。難得它能在嵌入式開(kāi)發(fā)的平臺(tái)上行得開(kāi),那就來(lái)進(jìn)一步熟悉吧!

1、開(kāi)發(fā)板硬件測(cè)評(píng)

先從某寶上購(gòu)得PYBOARD V702一塊,硬件資源如下;

python初見(jiàn)之V702朱麗霞2960.png

底板硬件資源如下:

python初見(jiàn)之V702朱麗霞2972.png

python初見(jiàn)之V702朱麗霞2974.png

python初見(jiàn)之V702朱麗霞2976.png

配上Nokia5110的SPI接口LCD屏,組成上一個(gè)完整的傳輸系統(tǒng)。來(lái)個(gè)全家照吧!

python初見(jiàn)之V702朱麗霞3021.png

TPYBoard_V702是遵照MIT許可的MicroPython開(kāi)發(fā)板,支持Python語(yǔ)言的通信定位開(kāi)發(fā)板。板載資源豐富,列表如下:

python初見(jiàn)之V702朱麗霞3255.png

1)主處理器

它的主處理器為ARM CORTEX-M4系列的STM32F405,最高工作頻率168MHz,利用意法半導(dǎo)體的ART加速器實(shí)現(xiàn)了FLASH零等待狀態(tài)。支持DSP指令和浮點(diǎn)單元,具有動(dòng)態(tài)功耗調(diào)整功能和豐富的接口【2】。

• 2個(gè)USB OTG(其中一個(gè)支持HS)

• 音頻:專(zhuān)用音頻PLL和2個(gè)全雙工I²S

• 通信接口多達(dá)15個(gè)(包括6個(gè)速度高達(dá)10.5 Mb/s的USART、3個(gè)速度高達(dá)42 Mb/s的SPI、 3個(gè)I²C、2個(gè)CAN和1個(gè)SDIO)

• 模擬:2個(gè)12位DAC、3個(gè)速度為2.4 MSPS或7.2 MSPS(交錯(cuò)模式)的12位ADC

• 定時(shí)器多達(dá)17個(gè):頻率高達(dá)168 MHz的16和32位定時(shí)器

• 可以利用支持Compact Flash、SRAM、PSRAM、NOR和NAND存儲(chǔ)器的靈活靜態(tài)存儲(chǔ)器控制器輕松擴(kuò)展存儲(chǔ)容量

  • 本文系21ic原創(chuàng),未經(jīng)許可禁止轉(zhuǎn)載!

網(wǎng)友評(píng)論

  • 聯(lián)系人:巧克力娃娃
  • 郵箱:board@21ic.com
  • 我要投稿
  • 歡迎入駐,開(kāi)放投稿

熱門(mén)標(biāo)簽
項(xiàng)目外包 more+