<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Coridium SuperPro+ BASIC Compiler in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Coridium-SuperPro-BASIC-Compiler/m-p/522731#M5367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dgarofolo on Tue Jul 17 06:03:08 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to connect a quadrature (rotory) encoder to my Coridium SuperPro+ board, using their free BASICtools compiler. It needs to run on a timed interrupt to ensure an adequate polling rate. I can't figure out how to get the interrupts to work as explained in the help files. Does anyone have any experience with this BASIC compiler? Below is my test code. I would expect that every second it would print a higher value for X. I get zeros, so the Interrupt Sub must not be running? Any suggestions or sample code would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DIM X As Integer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;INTERRUPT SUB every20msec:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;X = X + 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ENDSUB&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;main:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ON TIMER 20 every20msec&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PRINT "DO SOME OTHER STUFF TOO"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PRINT X&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wait (1000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GOTO Main&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;END&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:57:54 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:57:54Z</dc:date>
    <item>
      <title>Coridium SuperPro+ BASIC Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Coridium-SuperPro-BASIC-Compiler/m-p/522731#M5367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dgarofolo on Tue Jul 17 06:03:08 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to connect a quadrature (rotory) encoder to my Coridium SuperPro+ board, using their free BASICtools compiler. It needs to run on a timed interrupt to ensure an adequate polling rate. I can't figure out how to get the interrupts to work as explained in the help files. Does anyone have any experience with this BASIC compiler? Below is my test code. I would expect that every second it would print a higher value for X. I get zeros, so the Interrupt Sub must not be running? Any suggestions or sample code would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DIM X As Integer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;INTERRUPT SUB every20msec:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;X = X + 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ENDSUB&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;main:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ON TIMER 20 every20msec&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PRINT "DO SOME OTHER STUFF TOO"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PRINT X&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wait (1000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GOTO Main&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;END&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:57:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Coridium-SuperPro-BASIC-Compiler/m-p/522731#M5367</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Coridium SuperPro+ BASIC Compiler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Coridium-SuperPro-BASIC-Compiler/m-p/522732#M5368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by cfbsoftware on Sat Jul 28 18:04:52 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This question has been answered in the Yahoo ARMExpress group:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Ftech.groups.yahoo.com%2Fgroup%2FARMexpress%2Fmessage%2F3280" rel="nofollow" target="_blank"&gt;http://tech.groups.yahoo.com/group/ARMexpress/message/3280&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Coridium-SuperPro-BASIC-Compiler/m-p/522732#M5368</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:57:55Z</dc:date>
    </item>
  </channel>
</rss>

