<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Arduino Library Creation and Testing Workflow</title><link>/products/arduino/arduino-projects/b/blog/posts/arduino-library-creation-and-testing-workflow</link><description>Table of Contents

 Introduction 
 Library File Structure 
 Examining the Library Code 

 Megatest Header File 
 Megatest Source File 
 Additional Code Files 


 Example .ino File 
 Properties File 
 Testing the Library on a PC 

 Main code 
 Faking Arduino</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Arduino Library Creation and Testing Workflow</title><link>https://community.element14.com/products/arduino/arduino-projects/b/blog/posts/arduino-library-creation-and-testing-workflow</link><pubDate>Sat, 18 May 2024 21:29:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b42cf8a2-ae5b-47f0-8640-14d7d6c90031</guid><dc:creator>BigG</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Nice write up.&lt;/p&gt;
&lt;p&gt;For completeness there is also another file that&amp;#39;s typically included in the library&amp;#39;s home folder, which is &lt;strong&gt;keywords.txt&lt;/strong&gt;. The contents of this file can be quite helpful when opening up a new library in Arduino (assuming it was done right) and you want to quickly work out what functions / methods are available.&lt;/p&gt;
&lt;p&gt;There is a structure to this file too:&lt;/p&gt;
&lt;p&gt;#######################################&lt;br /&gt;# Name of Library / Title&lt;br /&gt;#######################################&lt;/p&gt;
&lt;p&gt;#######################################&lt;br /&gt;# Datatypes (KEYWORD1)&lt;br /&gt;#######################################&lt;/p&gt;
&lt;p&gt;... KEYWORD1&lt;br /&gt;... KEYWORD1&lt;/p&gt;
&lt;p&gt;#######################################&lt;br /&gt;# Methods and Functions (KEYWORD2)&lt;br /&gt;#######################################&lt;/p&gt;
&lt;p&gt;... KEYWORD2&lt;br /&gt;... KEYWORD2&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;#######################################&lt;br /&gt;# Structures (KEYWORD3)&lt;br /&gt;#######################################&lt;/p&gt;
&lt;p&gt;... KEYWORD3&lt;br /&gt;... KEYWORD3&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;#######################################&lt;br /&gt;# Constants (LITERAL1)&lt;br /&gt;#######################################&lt;br /&gt;... LITERAL1&lt;br /&gt;... LITERAL1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=27973&amp;AppID=149&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Arduino Library Creation and Testing Workflow</title><link>https://community.element14.com/products/arduino/arduino-projects/b/blog/posts/arduino-library-creation-and-testing-workflow</link><pubDate>Sat, 18 May 2024 20:20:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b42cf8a2-ae5b-47f0-8640-14d7d6c90031</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Very well written and informative.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=27973&amp;AppID=149&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Arduino Library Creation and Testing Workflow</title><link>https://community.element14.com/products/arduino/arduino-projects/b/blog/posts/arduino-library-creation-and-testing-workflow</link><pubDate>Fri, 17 May 2024 07:07:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b42cf8a2-ae5b-47f0-8640-14d7d6c90031</guid><dc:creator>embeddedguy</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;very&amp;nbsp;interesting work.&amp;nbsp;&lt;br /&gt;You could also put library upstream on github&amp;nbsp; and get into arduino manage library saction.&lt;br /&gt;&lt;br /&gt;I had created one, just like you have mentioned&lt;br /&gt;&lt;a href="https://gitlab.com/UJUR007/mpu6050_ind" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;gitlab.com/.../mpu6050_ind&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=27973&amp;AppID=149&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>