Char, lower/upper case

Hello,

You can write your own custom routines.
I did this all the time in small embedded systems when a library just bloated the code.
Take a look at the ASCII table and you will see patterns that you can work with.

void draw() 
	{}

void keyPressed()
  {
  //if (key >= 0x61 && key <= 0x7A)
  if (key >= 'a' && key <= 'z')
    {
    println(key, "LowerCase");  
    println(char(key + 'A' - 'a'), "UpperCase"); 
    }
  }

References:

:)

2 Likes