TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 31

MODULE, BLUETOOTH, DATA ACQUISITION

TOOTHPIC

Manufacturer Part Number
TOOTHPIC
Description
MODULE, BLUETOOTH, DATA ACQUISITION
Manufacturer
RF Solutions
Datasheet

Specifications of TOOTHPIC

Svhc
No SVHC (15-Dec-2010)
User Interface Development in FlexiPanel Designer
If you open the file ToothPICTestRes.FxP in FlexiPanel Designer, you will see that this user interface has
over 160 controls spread over 15 dialogs. Note how all the dialogs are all in one list and the boundary
between dialogs is indicated by the indentation of the control name in the list. A new dialog is created simply
by creating the first control in the dialog and then specifying Yes for its New Dialog property.
Note also the properties list for the image control as depicted in the graphic below. The graphic, which must
be in
format, is loaded in by double-clicking on the Image Data control. In the individual client layout
GIF
settings, you can choose to stretch or tile it as required. This is useful for using images for backgrounds, etc.
The Data Storage is set to Overlay and the Data Overlay Control is set to the other image control. This
means that the control will use the same storage location as the other image control.
Application Development in MPLAB
The application code for the ToothPIC Diagnostic firmware solution is extensive and the entire project is
available for inspection in the development kit. The most important files to note are the application source
code file ToothPICTest.c and the Designer-generated macros header file ToothPICTestRes.h. The key
features of the source code are discussed below.
Initialization
When the application starts, the external memory is initialized, the FlexiPanel server is initialized and the list,
labels and XY matrix controls are initialized with data. Note how the pRowCounter_ pointer macro is used to
set the number of rows of the matrix which are displayed.
Page 31
9-Apr-06
Toothpick 3.0.00007
DS380-8
© FlexiPanel Ltd
Patents apply and/or pending
www.FlexiPanel.com

Related parts for TOOTHPIC