Alert.png

Notice: This page contains information for the legacy Phidget21 Library.

Phidget21 is out of support. Bugfixes may be considered on a case by case basis.

Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21.

We recommend that new projects be developed against the Phidget22 Library.


Click on the 2phidget22.jpg button in the menu bar to go to the Phidget22 version of this page.

Alert.png

1204 User Guide: Difference between revisions

From Phidgets Legacy Support
Line 30: Line 30:


{{UGbox|
{{UGbox|
'''LCD Display Tab'''
#Double Click on PhidgetTextLCD Adapter in the Phidget Control Panel to bring up TextLCD-full and check that the box labelled Attached contains the word True.
#Double Click on PhidgetTextLCD Adapter in the Phidget Control Panel to bring up TextLCD-full and check that the box labelled Attached contains the word True.
#Choose the screen.
#Choose the screen.
Line 45: Line 46:
||
||
}}
}}
{{UGbox|
'''Custom Characters Tab'''
#Draw your custom character.
#Select the memory location (you can store up to 8 characters in location 0 to 7).
#Select the screen.
#Store the custom character in the memory location.
#The stored values are shown in the boxes.  The algorithm is described in the Technical Section of the manual. You can see your custom character by typing \0 (in the case of Memory Location 0) in one of the text boxes on the “LCD Display” tab.
|
[[image:1204 0 TextLCD Custom Characters Screen.jpg|link=|300px]]
||}}


===Testing Using Mac OS X===
===Testing Using Mac OS X===

Revision as of 19:16, 20 July 2012

Getting Started

Checking the Contents

You should have received:

  • A PhidgetTextLCD Adapter
  • A mini-USB cable
  • Mounting hardware kit

In order to test your new Phidget you will also need:

  • An LCD
  • An LCD cable

Connecting the Pieces

  1. Connect your LCD to the Adapter using your LCD cable.
  2. Connect the PhidgetTextLCD Adapter to your computer using the Mini-USB cable.

File:1204 0 Connecting The Hardware.jpg

Testing Using Windows 2000 / XP / Vista / 7

Make sure you have the current version of the Phidget library installed on your PC. If you don't, follow these steps:

  1. Go to the Quick Downloads section on the Windows page
  2. Download and run the Phidget21 Installer (32-bit, or 64-bit, depending on your system)
  3. You should see the Ph.jpg icon on the right hand corner of the Task Bar.

Running Phidgets Sample Program

Double clicking on the Ph.jpg icon loads the Phidget Control Panel; we will use this program to ensure that your new Phidget works properly.

The source code for the TextLCD-full sample program can be found in the quick downloads section on the C# Language Page. If you'd like to see examples in other languages, you can visit our Languages page.

Updating Device Firmware

If an entry in this list is red, it means the firmware for that device is out of date. Double click on the entry to be given the option of updating the firmware. If you choose not to update the firmware, you can still run the example for that device after refusing.

LCD Display Tab

  1. Double Click on PhidgetTextLCD Adapter in the Phidget Control Panel to bring up TextLCD-full and check that the box labelled Attached contains the word True.
  2. Choose the screen.
  3. Select the screen size.
  4. Click on Initialize to set-up and clear the display.
  5. Click on the Backlight box. The screen will light up.
  6. Click on the Cursor box. A “dash” cursor will appear on the screen.
  7. Click on the Cursor Blink box. A square blinking cursor will appear on the screen.
  8. You can increase or decrease the LCD contrast by moving the pointer in the Contrast slider box.
  9. You can increase or decrease the LED Brightness by moving the pointer in the Brightness slider box.
  10. You can type your message to be displayed on the LCD screen.
  11. To make your own characters, click on the Custom Characters Tab.

1204 0 TextLCD Screen.jpg

Custom Characters Tab

  1. Draw your custom character.
  2. Select the memory location (you can store up to 8 characters in location 0 to 7).
  3. Select the screen.
  4. Store the custom character in the memory location.
  5. The stored values are shown in the boxes. The algorithm is described in the Technical Section of the manual. You can see your custom character by typing \0 (in the case of Memory Location 0) in one of the text boxes on the “LCD Display” tab.

1204 0 TextLCD Custom Characters Screen.jpg

Testing Using Mac OS X

  1. Go to the Quick Downloads section on the Mac OS X page
  2. Download and run the Phidget OS X Installer
  3. Click on System Preferences >> Phidgets (under Other) to activate the Preference Pane
  4. Make sure that the is properly attached.
  5. Double Click on in the Phidget Preference Pane to bring up the Sample program. This program will function in a similar way as the Windows version.

Using Linux

For a step-by-step guide on getting Phidgets running on Linux, check the Linux page.

Using Windows Mobile / CE 5.0 / CE 6.0

For a step-by-step guide on getting Phidgets running on Windows CE, check the Windows CE page.

Technical Details

API

We document API Calls specific to this product in this section. Functions common to all Phidgets and functions not applicable to this device are not covered here. This section is deliberately generic. For calling conventions under a specific language, refer to the associated API manual in the Quick Downloads section for that language. For exact values, refer to the device specifications.

Data Structures

Functions

Events

Product History

Date Board Revision Device Version Comment