[英]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.