Im doing research about electrical and now Im writing the code to output the electric current according to degree input.
my code have no function at all, so I would like to create a function the take some integer input and return out the Array data output, may be it difficult to understand I will post the code that I want to change into function.
[code]
{// Handle Channel 3
unsigned int channel = 2;
unsigned int space = device->GetDataQueueSpace(channel);