Implementation of Arduino F() macro

巧了我就是萌 提交于 2020-01-14 10:36:13

问题


I'm trying to understand what the F() macro in Arduino actually does with PGMEM and RAM and what are the runtime implications. Can someone point me at the file that defines this macro?


回答1:


This may be an older version, but one place where it is defined is Wstring.h as in here.

You can find it yourself: if you installed Arduino you can search the installation directory. WString.h should be in hardware\arduino\cores\arduino\



来源:https://stackoverflow.com/questions/15372821/implementation-of-arduino-f-macro

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!