首页 > 评测 > Python初见之V702

Python初见之V702

Python   开源   硬件资源   
  • 作者:jully
  • 来源:21ic
  • [导读]
  • 简言之,Python是一种面向对象的解释型计算机程序设计语言,是纯粹的自由软件, 源代码和解释器。Python遵循 GPL(GNU General Public License)协议[2] 。它具有丰富而强大的库,常被昵称为胶水语言。能够把用其他语言制作的各种模块(尤其是C/C++)很轻松地联结在一起,应用于任何平台,而且还有我们最喜欢的开源 、免费噢!

几年前做项目时第一次听说Python,朋友强力推荐。对于这位老大,我几乎每次和聆听完指导后的第一件是就是百度刚才那些我不听不明白的专业术语。

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】

简言之,Python是一种面向对象的解释型计算机程序设计语言,是纯粹的自由软件, 源代码和解释器。Python遵循 GPL(GNU General Public License)协议[2] 。它具有丰富而强大的库,常被昵称为胶水语言。能够把用其他语言制作的各种模块(尤其是C/C++)很轻松地联结在一起,应用于任何平台,而且还有我们最喜欢的开源 、免费噢!

如果不想每天面对计算机如此的多国语言,不如选一两种通用语。难得它能在嵌入式开发的平台上行得开,那就来进一步熟悉吧!

1、开发板硬件测评

先从某宝上购得PYBOARD V702一块,硬件资源如下;

python初见之V702朱丽霞2960.png

底板硬件资源如下:

python初见之V702朱丽霞2972.png

python初见之V702朱丽霞2974.png

python初见之V702朱丽霞2976.png

配上Nokia5110的SPI接口LCD屏,组成上一个完整的传输系统。来个全家照吧!

python初见之V702朱丽霞3021.png

TPYBoard_V702是遵照MIT许可的MicroPython开发板,支持Python语言的通信定位开发板。板载资源丰富,列表如下:

python初见之V702朱丽霞3255.png

1)主处理器

它的主处理器为ARM CORTEX-M4系列的STM32F405,最高工作频率168MHz,利用意法半导体的ART加速器实现了FLASH零等待状态。支持DSP指令和浮点单元,具有动态功耗调整功能和丰富的接口【2】。

• 2个USB OTG(其中一个支持HS)

• 音频:专用音频PLL和2个全双工I²S

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

• 模拟:2个12位DAC、3个速度为2.4 MSPS或7.2 MSPS(交错模式)的12位ADC

• 定时器多达17个:频率高达168 MHz的16和32位定时器

• 可以利用支持Compact Flash、SRAM、PSRAM、NOR和NAND存储器的灵活静态存储器控制器轻松扩展存储容量

  • 本文系21ic原创,未经许可禁止转载!

网友评论