I am currently doing it like this.. but it gets actually stored as integer.. How can i do it?
commandMap = new HashMap();
commandMap.put(“SET_DISPLAY”, 0xD0);
commandMap.put(“READ_ADC”, 0xD1);
commandMap.put(“GET_PARAM”, 0xD2);
commandMap.put(“SET_PARAM”, 0xD3);
commandMap.put(“GET_IOVALUE”, 0xD4);
commandMap.put(“SET_IOVALUE”, 0xD5);
Decimal, hex, octal and so on are just notations; i.e. different ways of rendering an integer in characters. They are not special kinds of numbers.
So …