Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Mar 7th, 2013  |  syntax: None  |  size: 0.23 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. char fourChar[4];
  2.     int* value = (int*)(&fourChar);
  3.     *value = (int)floatValueFromSlider;  // or the simple values from your picker
  4.     [appNote sendCharArray:fourChar];    // assuming the method wants a char[] of only 4 characters