Code Explorer and "Imports"

Discuss the Firewing development environment

Code Explorer and "Imports"

Postby Timbo » Sun May 05, 2013 8:54 am

Hi all

I'm looking at writing a routine that uses a USART buffer so my first port of call is the samples folder and the interrupt examples.

In there is a prog called progUART and it Imports UartBuffer and Uart

Looking in the code explorer on the left of the IDE I see Uart but not UartBuffer.

Were is UartBuffer and why is it not showing up in the code explorer? I know its ignorance on my part so please enlighten me.

Cheers
Timbo
 
Posts: 93
Joined: Fri May 03, 2013 7:51 pm

Re: Code Explorer and "Imports"

Postby David John Barker » Sun May 05, 2013 9:45 am

The name of the file is "UartBuffer" - this is what you import. The actual name of the module is "RX", so that is what is displayed in the explorer window. For example,
Code: Select all
RX.DataAvailable()

is the name of the module followed by the routine to call. There is some documentation at firewing.info which shows the import name and module name

http://www.firewing.info/pmwiki.php?n=Library.RX
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm


Return to Development Environment

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x