arduivis

所属分类:处理器开发
开发工具:Max
文件大小:11932KB
下载次数:0
上传日期:2020-02-10 04:26:31
上 传 者sh-1993
说明:  编程语言的双向通信范式&微控制器
(a bi-directional communication paradigm for programming languages & microcontrollers)

文件列表:
JS (0, 2020-02-10)
JS\.DS_Store (6148, 2020-02-10)
JS\arduivis-bpatcher.maxpat (19637, 2020-02-10)
JS\arduivis.js (14343, 2020-02-10)
JS\arduivis.maxpat (15144, 2020-02-10)
JS\arduivis.maxsnip (27128, 2020-02-10)
JS\info (0, 2020-02-10)
JS\info\arduivis-multiple-1.png (94664, 2020-02-10)
JS\info\arduivis-multiple-2.png (118288, 2020-02-10)
JS\info\arduivis-single-1.png (95619, 2020-02-10)
JS\info\arduivis-single-2.png (116425, 2020-02-10)
JS\info\arduivisJS-info.maxpat (538292, 2020-02-10)
JS\info\arduivisJS-safety.js (13484, 2020-02-10)
JS\info\codegen-input.maxpat (31887, 2020-02-10)
JS\info\codegen-output.maxpat (110397, 2020-02-10)
JS\info\codegen.maxpat (170771, 2020-02-10)
JS\info\codegen.png (45656, 2020-02-10)
JS\info\create1.png (18789, 2020-02-10)
JS\info\create2.png (13977, 2020-02-10)
JS\info\create3.png (88172, 2020-02-10)
JS\info\howtouse-inputs.maxpat (2909, 2020-02-10)
JS\info\howtouse-outputs.maxpat (2911, 2020-02-10)
JS\info\howtouse-template.maxpat (2913, 2020-02-10)
JS\info\input-format.maxpat (27115, 2020-02-10)
JS\info\input-info.maxpat (57970, 2020-02-10)
JS\info\input-ref.maxpat (169788, 2020-02-10)
JS\info\inputs1.png (31608, 2020-02-10)
JS\info\inputs2.png (21234, 2020-02-10)
JS\info\inputs3.png (14153, 2020-02-10)
JS\info\inputs4.png (12702, 2020-02-10)
JS\info\interface.png (95089, 2020-02-10)
JS\info\output-format.maxpat (108278, 2020-02-10)
JS\info\output-info.maxpat (8598, 2020-02-10)
JS\info\output-ref.maxpat (169788, 2020-02-10)
JS\info\output0.png (35942, 2020-02-10)
JS\info\output1.png (46196, 2020-02-10)
JS\info\output2.png (49326, 2020-02-10)
JS\info\ref.png (151003, 2020-02-10)
JS\info\template0.png (114758, 2020-02-10)
... ...

arduivis

a bi-directional communication paradigm for programming languages & microcontrollers

The idea revolves around using an Arduino, or similar mircocontroller with serial capability, as a communication hub. Within this hub, a user can send and/or receive data from a microcontroller using a programming language that has serial capabilities. Anything connected to the microcontroller that provides data or voltage source, is a new source of information that can for new forms of research. # Installation - Download the repository. - Open Max8. - Go to file *Options > File Preferences*.

- Click the *plus* to add the *arduivis* repository to the filepath.

- Open a new Max patch.

- Unlock it.

- Click *Snippets* and find *arduivis*.

- Drag the snippet into the patch.

# Interface + ins - *The number of inputs, going from Max to Arduino* + outs - *The number of outputs, going from Arduino to Max* + create - *Create a new arduivis instance based on the number of i/o's* + code - *View generated Arduino code* + save - *Save new Arduino code* + clear - *Clear arduivis instance and generated code* # Demo

The demo is an example how to use arduivis. The arduivis snippet is added to an empty patch and places at the top left of the patch. The patch requires four *inputs* and seven *outputs*. Add four to the *inputs* box and seven to the *outputs* box. Click create, it generates a new patch from the user-defined inputs and outputs parameters. It generates Arduino code based on the parameters and press the *code* button to copy the code. Paste the code into the Arduino IDE and upload it to the microcontroller. When finished, go to the Mac patch and click *update* to refresh the menu of boards. Select the board connected to the computer and wait three seconds. Start *polling* by clicking the *toggle*. The connection is established and data can be sent bi-directionally between Max and the microcontroller. # Resources - The wiki connected to this respository is where all information regarding the use of arduivis can be found - arduivis videos

近期下载者

相关文件


收藏者