20-151-0178 Rabbit Semiconductor, 20-151-0178 Datasheet - Page 77
![CABLE CONVERTER RS-232 TO USB](/photos/8/97/89711/20-151-0178_sml.jpg)
20-151-0178
Manufacturer Part Number
20-151-0178
Description
CABLE CONVERTER RS-232 TO USB
Manufacturer
Rabbit Semiconductor
Datasheet
1.20-151-0178.pdf
(162 pages)
Specifications of 20-151-0178
Accessory Type
USB to RS232 Adapter
Product
Microcontroller Accessories
For Use With/related Products
Rabbit-based Boards
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-151-0178
316-1181
316-1181
- Current page: 77 of 162
- Download datasheet (4Mb)
Note that the keypad’s software name is always flex_keypad.
Next, you should configure the keys on your keypad. This is what the flexKeyConfig() function
does. When a key is pressed, the flexKeyGet() function will get a specific key code before returning
which key was pressed. The keycode is calculated as follows:
The flexKeyConfig() function takes the key code as a parameter to determine which key you are
configuring. The other parameters let you configure the actual char value that flexKeyGet() will
report when the corresponding key is pressed, as well as whether or not a key should repeat if held down.
To drive the keypad driver, you must continuously call the flexKeyProcess() function.
6.3.7 LCD
All LCD functions begin with “flexDisp.” To use the LCD software support, you must first initialize the
LCD. Use the flexDispInit() function. Here is an example:
Note that the LCD’s software name is always flex_lcd.
Also note the second parameter in flexDispInit(). Your LCD display may have different properties
from the standard LCDs that we support. The second parameter lets you configure some of the parameters
for your attached LCD. This initialization parameter is of type Flex_LCDConf. Here is the structure
definition for Flex_LCDConf:
If your display has a specific number of columns and rows, then you can set that with the num_cols and
num_rows parameters. The documentation for your LCD module should indicate at which address each
row begins—these can be specified with the row_addresses array. The anaout_contrast_min
and anaout_contrast_max parameters can be ignored—contrast on the RabbitFLEX BL300F is cur-
rently set via a PWM output. pwm_contrast_min and pwm_contrast_max can be used to restrict
the range of the contrast settings, whereas def_contrast can be used to set the default contrast value.
So, for a 2x20 display, you might initialize it as follows:
RabbitFLEX User’s Manual
[output #] * [num outputs] + [input #]
flexDispInit(&flex_lcd, NULL);
typedef struct {
} Flex_LCDConf;
Flex_LCDConf my_lcd;
// Number of columns on the display
my_lcd.num_cols = 20;
char num_cols;
char num_rows;
char row_addresses[4];
float anaout_contrast_min; // Minimum voltage for contrast control
float anaout_contrast_max; // Maximum voltage for contrast control
int pwm_contrast_min;
int pwm_contrast_max;
char def_contrast;
// Number of columns on the display
// Number of rows on the display
// Starting address of each row (up to 4 rows)
// Minimum duty cycle for contrast control
// Maximum duty cycle for contrast control
// Default scaled value for contrast control (0-255)
www.rabbit.com
71
Related parts for 20-151-0178
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![20-151-0101](/images/no-image3.png)
Part Number:
Description:
Microcontroller Modules & Accessories Assy Download 1.27MM and 2MM Pitch Cbles
Manufacturer:
Rabbit Semiconductor
![3057P-1-203](/photos/16/51/165126/3057_tmb.jpg)
Part Number:
Description:
Trimmer Resistors - Multi Turn 20Kohms 5% 1 1/4 PC Mount
Manufacturer:
Bourns Inc.
Datasheet:
![PCF8576CH/1](/images/manufacturer_photos/0/4/487/nxp_semiconductors_tmb.jpg)
Part Number:
Description:
LCD Drivers 160 SEGMENT LCD SEGMENT DRIVER
Manufacturer:
NXP Semiconductors
![350218-1](/photos/30/72/307284/pr350218-1_l_tmb.jpg)
Part Number:
Description:
20-24 awg TIN PIN REEL M-N-L
Manufacturer:
TE Connectivity
Datasheet:
![PCF2127AT/1,512](/images/manufacturer_photos/0/4/487/nxp_semiconductors_tmb.jpg)
Part Number:
Description:
IC REAL TIME CLK/CALENDAR 20SOIC
Manufacturer:
NXP Semiconductors
Datasheet:
![PCF2129AT/1,512](/images/manufacturer_photos/0/4/487/nxp_semiconductors_tmb.jpg)
Part Number:
Description:
IC REAL TIME CLK/CALENDAR 20SOIC
Manufacturer:
NXP Semiconductors
Datasheet:
![PCF2127AT/1,518](/images/manufacturer_photos/0/4/487/nxp_semiconductors_tmb.jpg)
Part Number:
Description:
IC RTC/CALENDAR TCXO QTZ 20SOIC
Manufacturer:
NXP Semiconductors
Datasheet:
![NTD3055L104-1](/images/manufacturer_photos/0/4/495/on_semiconductor_tmb.jpg)
Part Number:
Description:
Manufacturer:
ON Semiconductor
Datasheet:
![SC3306Q-1](/images/manufacturer_photos/0/0/43/amcc__applied_micro_circuits_corp__tmb.jpg)
Part Number:
Description:
20-OUTPUT LVTTL CLOCK DRIVER
Manufacturer:
AMCC (Applied Micro Circuits Corp)
![SC3308Q-1](/images/manufacturer_photos/0/0/43/amcc__applied_micro_circuits_corp__tmb.jpg)
Part Number:
Description:
20-OUTPUT LVTTL CLOCK DRIVER
Manufacturer:
AMCC (Applied Micro Circuits Corp)
![SC3506Q-1](/images/manufacturer_photos/0/0/43/amcc__applied_micro_circuits_corp__tmb.jpg)
Part Number:
Description:
20-OUTPUT CLOCK DRIVER
Manufacturer:
AMCC (Applied Micro Circuits Corp)