TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 23

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)
Application Development in MPLAB
The following steps explain how to create the MPLAB project from scratch. You can alternatively simply load
the project HelloWorldBit.mcw (found in the Development Kit) into MPLAB
Page 23
9. Save the file as HelloWorldFxPRes.FxP in the project directory for this application. The Res at the
10. In the Target Device menu, select Create C Code...
11. The user interface is now complete. Note that one of the Target Devices you can select is Simulation.
1. Create a project named in MPLAB with the following characteristics:
2. Copy the following files from the Development Kit directory to your project directory and include them
3. Also include in the project the files HelloWorldRes.h and HelloWorldRes.c, generated by
end of the filename is generally used to indicate that it, and the files it creates, contain user interface
resources.
HelloWorldRes.h header file and a HelloWorldRes.c source code file which you should save in
the project directory. The C code contains the user interface data to be stored in ToothPIC program
memory. (You may need to change the #include “ToothPIC.h” path if the file is not in the same
directory as your project.) The header file contains computer-generated macros to make it easier to
access the controls from your application code.
This allows you to test user interfaces directly from within FlexiPanel Designer. The aim of this tutorial
has not been to produce the most aesthetically pleasing user interface, and you can see there is
plenty of scope for improvement, particularly if image controls are used.
If you forget any of these, the project will still compile, but it won’t run correctly. Note, in particular, the
last three items may result in behavior that seems right at first but may later behave unexpectedly,
making debugging difficult. Please check these have been set before calling technical support.
in the project:
The above files contain the information about ToothPIC Services and are included in all applications.
They do not need to be modified from their original form.
FlexiPanel Designer. The C code contains the user interface data to be stored in ToothPIC program
9-Apr-06
• Multi-Bank Stack Model
• ToothPicMath303.o, the ToothPIC math libraries object file in the development kit main
• ToothPIC303.lib, the ToothPIC Services library in the development kit main directory.
Device PIC18F6720
HS oscillator configuration
Watchdog timer off
Watchdog timer postscaler 1:128
Power-up timer on
Oscillator switch enabled
CCP2 Mux RE7
Table Write Protect 00200-03FFF enabled
Table Write Protect 04000-08FFF enabled
Table Write Protect 08000-0BFFF enabled
Table Write Protect 00000-001FF enabled
Large Code Model
Large Data Model
ToothPIC.h, the ToothPIC Services header file in the development kit main directory.
directory.
ToothPIC303.lkr, the ToothPIC linker script in the development kit main directory.
Toothpick 3.0.00007
DS380-8
© FlexiPanel Ltd
Patents apply and/or pending
FlexiPanel Designer will create a
www.FlexiPanel.com

Related parts for TOOTHPIC