16896| 11
|
[求助] Processing和Arduino连接之后,如何控制视频播放!求代码!! |
Arduino 从PIR拿到数据 Arduino 通过串口发送数据到 Processing Processing 播放视频 不大懂Processing,arduino 对PIR的控制网上到处都是,自己找一下, 下面是processing。pde文件,瞎写的, import processing.video.*; Movie myMovie; void setup() { size(200, 200); myMovie = new Movie(this, "shanno.mov"); myMovie.play(); } void draw() { image(myMovie, 0, 0); } void movieEvent(Movie m) { m.read(); } |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed