简体   繁体   English

我如何从树莓派获取代码并将其存储在较小的芯片上,所以我不必一遍又一遍地使用pi

[英]How do I take code from a raspberry pi and store it onto a smaller chip so I don't have to use the pi over and over again

I bought a raspberry pi and created a small remote controlled truck, but I want to work on more projects; 我买了一个树莓派,并创建了一辆小型遥控卡车,但我想从事更多的项目。 is there any way to sore the Python file onto a flashdrive and connect it to some kind of cpu so the truck will still work and I can use the pi for other things and continue buying the small "cpu" uploading the pythons code and moving forward on different projects? 有什么方法可以将Python文件压到闪存驱动器上并将其连接到某种CPU,以便卡车仍然可以工作,我可以将pi用于其他用途,并继续购买上传Pythons代码并继续前进的小型“ cpu”在不同的项目上?

You've written in a high-level language for specific hardware. 您已经使用高级语言编写了特定的硬件。

You could make your own ARM Cortex-A7 based board but it'll be cheaper to just buy another Pi. 您可以制作自己的基于ARM Cortex-A7的板,但仅购买另一台Pi会便宜。

If you want to make small inexpensive devices, then you should use a lower-level language with a microcontroller, such as Atmel AVR, found in Arduinos. 如果您想制造廉价的小型设备,则应将低级语言与微控制器一起使用,例如Arduinos中的Atmel AVR。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 带有树莓派2的i2c上的多个LCD显示屏 - Multiple LCD displays over i2c with raspberry pi 2 如何为Raspberry pi 3使用Ubidots? - How can I use Ubidots for Raspberry pi 3? 如何编辑我的 VS Code 环境,以便我可以为我的 Python 代码预设输入数据,这样我就不必一次又一次地输入数据 - How do I edit my VS Code environment so that I can preset Input data for my Python Code so that I don't have to input data again and again Raspberry Pi 3无法找到任何无线接口,如何添加或重新启用它? - Raspberry Pi 3 cannot find any wireless interfaces, how do I add it or enable it again? 树莓派控制 SSH - Raspberry Pi control over SSH 为什么我不能在Raspberry Pi上使用python-mosquitto? - Why can't I use python-mosquitto on the Raspberry Pi? 使用 Dash/Plotly 制作了一个 ui 代码,我需要使用 Raspberry pi 将多个传感器数据从 arduino 导入到我的 Python 文件中,如何继续? - made a ui code using Dash/Plotly, i need to import multiple sensor data from an arduino onto my Python file using a Raspberry pi how to proceed? 通过串行接口与Arduino接口的Python代码在Raspberry Pi上不起作用 - Python code to interface with Arduino over serial not working on Raspberry Pi 我需要什么代码才能将树莓派的csv文件写入本地网络中的文件夹? - What code do I need to write a csv file from my raspberry pi to a folder in my local network? 我可以在 Raspberry Pi 3 上使用带有 Python 3 的信标工具吗? - Can I use beacontools with Python 3 on Raspberry Pi 3?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM