meaning of &variable (passed to function)

func being some arbitrary user defined function It couldn’t be “arbitrary” – it must take a pointer to int or a void* in order for the call to be legal. This ampersand is the “take address” operator. It passes func the address of a, so that the func could, for example, modify it: If your … Read more

How to program hardware?

Probably you are looking for a programmable microcontroller. If you have experience in C/C++/Java, checkout Arduino. Its chip is programmed using a C like language. This “How tos” page might help you get started. There are also some good books that will help you move forward: Programming Interactivity. Making Things Move DIY Mechanisms for Inventors, Hobbyists, and … Read more