0

I am trying to figure out a way to interface between an arduino-controlled system, and a software that will automatically create files in a certain filepath over time.

I don't need arduino to read the file, or extract anything from the file, only become aware of the file coming into existence (from the other software) and trigger the already programmed sequences.

If anyone has any ideas on how I can accomplish this (or if you need any clarification), please let me know.

4

1 回答 1

1

我假设您不是编写创建文件的软件的人。在这种情况下,请查看ReadDirectoryChangesW。每当您检索目录中的更改时,只需向 arduino 发送一条串行消息并触发序列。

于 2013-04-24T22:10:15.813 回答