PAlib: Shape Recognition...

Main Page | Modules | File List | Globals | Search for

# Shape Recognition...

## Functions

char | PA_CheckLetter (void)

Analyzes the drawn shape and returns a letter according to it. 0 if nothing. The drawn shape's string is copied into PA_RecoShape on Stylus Release. You can find a copy of the current letters used here : http://www.palib.info/Reco/PAGraffiti.gif

void | PA_RecoAddShape (char letter, char *shape)
| Adds a new shape to the recognition system
void | PA_ResetRecoSys (void)
| Resets the Recognition system
void | PA_UsePAGraffiti (u8 use)
| Set on or off the PA Graffiti letters. You'll want to turn them off if you plan on using your own shapes....

## Detailed Description

Draw a shape and have it recognized !

## Function Documentation

inline void PA_RecoAddShape | ( | char | letter,
|  | char * | shape
| ) | `[inline]`

Adds a new shape to the recognition system

Parameters:

  | letter | Letter it will return for that shape (you can use any thing, even a number from 1 to 255)
  | shape | 15 characters string given by the recognition system in PA_RecoShape

inline void PA_UsePAGraffiti | ( | u8 | use | ) | `[inline]`

Set on or off the PA Graffiti letters. You'll want to turn them off if you plan on using your own shapes....

Parameters:

  | use | 1/0, on/off...