过早客
  • 首页
  • 节点
  • 成员
  • 广告投放
  • 登录
  • 注册

20150913 悟空间技术分享 走在智能硬件的路上的NodeMCU-优美的lua

IT技术 • spaceaky • 发表于 9 年前 • 最后回复来自 spaceaky • 9 年前

报名链接:http://www.hudongba.mobi/party/wcpi-PCFind.html?view=2

活动时间:2015年09月13日 14:00-17:30
Activity time: 2015 13, 09, 14:00-17:30
活动地点:武汉珞喻路889号光谷中心花园C-3栋3203室,位于武汉光谷鲁巷广场正对面,光谷国际广场旁
Venue: Wuhan Luo Yu Road 889 garden of smooth cereal center C-3 building, room 3203, located in Wuhan Optics Valley Luxiang Plaza is opposite, the Optical Valley Plaza next to
联系人:悟空间 18971230727
Contact: Wu space 18971230727
活动费用:会员免费,非会员30元(报名缴纳) 支持悟空间的日常费用
Activity fees: member free, non member 30 yuan (registration fee) to support the daily cost of understanding
(会员说明:http://note.youdao.com/share/?id=2af74e57fa5d6ed29d7ecf4c7a1e01ba&type=note)
(member Description: http://note.youdao.com/share/?id=2af74e57fa5d6ed29d7ecf4c7a1e01ba&type=note)
活动内容:
Activity content:
NodeMCU简介:
NodeMCU profile: 看看大家都用它来做了什么:
土壤温湿度监测+wifi数据上传
基于18b20的wifi温度记录仪
wifi电源开关
wifi相机延时摄影控制器
wifi空气基站
做出上面的东西并不难,只需要听麦克老师讲课,动手实践就可以啦。一起加入我们吧,不需要整天想七想八,一起来动手DIY吧。
Lua 是一个小巧的脚本语言。 是巴西里约热内卢天主教大学(Pontifical Catholic University of Rio de Janeiro)里的一个研究小组,由Roberto Ierusalimschy、Waldemar Celes 和 Luiz Henrique de Figueiredo所组成并于1993年开发。 其设计目的是为了嵌入应用程序中,从而为应用程序提供灵活的扩展和定制功能。Lua由标准C编写而成,几乎在所有操作系统和平台上都可以编译,运行。 Lua并没有提供强大的库,这是由它的定位决定的。所以Lua不适合作为开发独立应用程序的语言。Lua 有一个同时进行的JIT项目,提供在特定平台上的即时编译功能。

Lua脚本可以很容易的被C/C++ 代码调用,也可以反过来调用C/C++的函数,这使得Lua在应用程序中可以被广泛应用。不仅仅作为扩展脚本,也可以作为普通的配置文件,代替XML,ini等文件格式,并且更容易理解和维护。[2] Lua由标准C编写而成,代码简洁优美,几乎在所有操作系统和平台上都可以编译,运行。[2] 一个完整的Lua解释器不过200k,在目前所有脚本引擎中,Lua的速度是最快的。这一切都决定了Lua是作为嵌入式脚本的最佳选择。 本课程为创客的NodeMCU课程,介绍NodeMCU的lua编程语言,让您快速的,高效的使用lua语言设计NodeMCU,作为diy的项目。
Lua is a small, fast, modern interpreted language specifically designed to be embedded in other applications to provide scripting "glue" logic. While it is a small language, it is very different from languages most embedded software developers are used to.
Following up on the introductory "NodeMCU for Makers" lecture, this class is an introduction to the programming language that makes NodeMCU tick. It is a detailed look at the Lua programming language (and its eLua extensions) so that you can write efficient, high -quality Lua code for your maker projects.
Outline
Introduction
Type
snumber, string, boolean, table / romtable, function / lightfunction, nil, userdata / lightuserdata, thread
Assignment
Numbers
Strings
Operators
arithmetic, concatenation, length, relational, logical
operator precedence
Control structures
if, while, repeat ... until, for
Tables
array access
Functions
higher order functions
closures
Variable scoping
Chunks, blocks, modules, etc.
Coroutines
Garbage collection
Standard library

近期技术分享预告,敬请期待
CNC数控雕刻机使用技术分享
Arduino开源硬件分享孵化器的故事
cadence软件使用
技术分享欢迎其他朋友们愿意分享您关于技术类的心得,请联系悟空间。独乐乐不如众乐乐

加入收藏 新浪微博 分享到微信 ❤赞 4846 次点击 0 人赞 0 人收藏

打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮

共收到8条回复
spaceaky 楼主 9 年前 #1 赞 0

spaceaky 楼主 9 年前 #2 赞 0

spaceaky 楼主 9 年前 #3 赞 0

分享一些活动图片,欢迎大家参与共建





xieyang 9 年前 #4 赞 0

硬件看着是好玩一些,但是没什么基础能参加吗。

spaceaky 楼主 9 年前 #5 赞 0

@Caixin919 谢谢

spaceaky 楼主 9 年前 #6 赞 0

不好意思,本次时间通知错误,正确时间为周日 下午两点到五点

spaceaky 楼主 9 年前 #7 赞 0

@xieyang 可以的啊。。。有个愿意动手参与就可以啦。

spaceaky 楼主 9 年前 #8 赞 0

欢迎新老朋友过来参与活动

请绑定手机号后,再发言,点击此处
Guozaoke.com—源自武汉的高端交流分享社区
相关主题
阮一峰周刊 Issue 查看器:一个极简优雅的投稿浏览器
真的不喜欢python
大家现在新项目用java的话,用哪个版本的jdk
推荐大家使用 claude code + qwen3-coder 可以抛弃 Cursor了
实践 react router v7
大家用的什么AI code啊,有无白嫖途径?
CurSor不能使用claude模型了??????
claude真不错
Claude Code 公益镜像站白票使用教程
搞了个网站,帮助大家找到自己想要的互联网资源!

过早客微信公众号:guozaoke • 过早客新浪微博:@过早客 • 广告投放合作微信:fullygroup50 鄂ICP备2021016276号-2 • 鄂公网安备42018502001446号