<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[New library for 4Relay Unit]]></title><description><![CDATA[<p dir="auto"><a href="https://github.com/sfekilou/M5STACK_4RELAY" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sfekilou/M5STACK_4RELAY</a></p>
<p dir="auto">Library with these functions:</p>
<p dir="auto">begin(TwoWire &amp;wireport,int sdaPin, int sclPin,uint32_t frequency); //Initialize I2C port<br />
uint16_t ReadState(); //read 0x10 &amp; 0x11 registers<br />
SyncMode(bool Sync); //sync or async LEDs<br />
void AllOff(); //set all relays to OFF<br />
void Write4Relay(int number,bool state); //set or unset the relay number</p>
]]></description><link>https://community.m5stack.com/topic/3317/new-library-for-4relay-unit</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 03:11:14 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3317.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 May 2021 19:12:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New library for 4Relay Unit on Mon, 31 May 2021 07:48:28 GMT]]></title><description><![CDATA[<p dir="auto">The library is now available on Platformio ("M5 Stack  4Relay Library") and Arduino IDE Library Manager.<br />
Can I use your 4-Relay picture to add in my <a href="http://Readme.md" target="_blank" rel="noopener noreferrer nofollow ugc">Readme.md</a> file on Github ? And/or  add this link: <a href="https://shop.m5stack.com/collections/m5-unit/products/4-relay-unit" target="_blank" rel="noopener noreferrer nofollow ugc">https://shop.m5stack.com/collections/m5-unit/products/4-relay-unit</a> ?<br />
If you want, you can add my Github link to your Arduino Example section.</p>
]]></description><link>https://community.m5stack.com/post/13952</link><guid isPermaLink="true">https://community.m5stack.com/post/13952</guid><dc:creator><![CDATA[sebkilou]]></dc:creator><pubDate>Mon, 31 May 2021 07:48:28 GMT</pubDate></item><item><title><![CDATA[Reply to New library for 4Relay Unit on Thu, 27 May 2021 11:36:21 GMT]]></title><description><![CDATA[<p dir="auto">cool.</p>
]]></description><link>https://community.m5stack.com/post/13900</link><guid isPermaLink="true">https://community.m5stack.com/post/13900</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Thu, 27 May 2021 11:36:21 GMT</pubDate></item></channel></rss>