Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Main category
Main forum
getLed() for IndustrialAutomation python
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="alexburcea" data-source="post: 24" data-attributes="member: 3"><p>Hi,</p><p></p><p>The "getLed(stack, led)" is in the library, here a example:</p><p>Python 3.9.2 (default, Mar 12 2021, 04:06:34)</p><p>[GCC 10.2.1 20210110] on linux</p><p>Type "help", "copyright", "credits" or "license" for more information.</p><p>>>> import megaind as i</p><p>>>> i.getLed(0, 1)</p><p>0</p><p>>>> i.setLed(0, 1, 1)</p><p>>>> i.getLed(0, 1)</p><p>1</p><p>>>> i.setLed(0, 2, 1)</p><p>>>> i.getLed(0, 1)</p><p>1</p><p>>>> exit()</p><p></p><p>Please make sure you are using the last megaind library. Do a update of the megaind-rpi repository and reinstall the library as per <a href="https://github.com/SequentMicrosystems/megaind-rpi/blob/master/python/README.md" target="_blank">instructions</a>.</p><p>Let me know the result.</p></blockquote><p></p>
[QUOTE="alexburcea, post: 24, member: 3"] Hi, The "getLed(stack, led)" is in the library, here a example: Python 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import megaind as i >>> i.getLed(0, 1) 0 >>> i.setLed(0, 1, 1) >>> i.getLed(0, 1) 1 >>> i.setLed(0, 2, 1) >>> i.getLed(0, 1) 1 >>> exit() Please make sure you are using the last megaind library. Do a update of the megaind-rpi repository and reinstall the library as per [URL='https://github.com/SequentMicrosystems/megaind-rpi/blob/master/python/README.md']instructions[/URL]. Let me know the result. [/QUOTE]
Verification
Post reply
Home
Forums
Main category
Main forum
getLed() for IndustrialAutomation python
Top