2215 views|6 replies

1w

Posts

25

Resources
The OP
 

LUA programming environment -- picolua [Copy link]

 

picolua is a Lua programming environment for Pico. In addition to the Lua runtime, it includes a basic Unix-like shell, a full-screen editor, and basic file management tools. picolua is designed to be operated by connecting the Pico's USB to a terminal emulator. Lua functions have been added to control Pico's GPIO and other peripherals. Therefore, no specific development tools are required to run programs for control. General digital input/output, analog input, PWM output, and I2C are supported.

picolua has some similarities in concept to MicroPython on Pico. However, picolua is designed to be completely standalone and does not require additional tools (except the terminal) to create, edit, and test programs. It is possible (to some extent) to create and test Lua code on a workstation and then upload it to Pico. However, this is not necessary - picolua is capable of standing alone.

picolua maintains a file system in the Pico's flashrom, which can store multiple files, which can be organized into directories.

There is a basic command-line shell that provides some Unix-like commands for copying, viewing, and deleting files; and of course, for running Lua code.

Most standard Lua functionality is available, except for those functions that interact with the operating system. The Lua file handling routines have been replaced by alternatives specific to the picolua file system.


Project URL:

游客,如果您要查看本帖隐藏内容请回复

Latest reply

Anyway, it's like "I don't like you, so I'll make a new one myself" As for whether I will continue after I have figured it out and proved that I am better than you, that is my business and none of your business.   Details Published on 2021-4-16 22:02
 
 

7422

Posts

2

Resources
2
 

Awesome, the PI community is quite interesting.

Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

6040

Posts

204

Resources
3
 

Yes, there are more and more ways to play.

 
 
 

1

Posts

0

Resources
4
 

Look at this lua!

 
 
 

6

Posts

0

Resources
5
 

This IDE needs to be looked at.

 
 
 

1127

Posts

17

Resources
6
 
have a look
 
 
 

21

Posts

0

Resources
7
 

Anyway, it's like "I don't like you, so I'll make a new one myself"

As for whether I will continue after I have figured it out and proved that I am better than you, that is my business and none of your business.

 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list