8 years, 1 month ago.

How can I input values of variables after compiling ?

When I have a code like the one below :

void rotate( int A, float B, char C ) for ( int i = 0; i < B; i++ )

How do I input the values once I compile and load my program into the platform I'm using (LPC 1768) . Do I need to download any software for this ?

Thanks in advance.

Question relating to:

1 Answer

8 years, 1 month ago.

The easiest way is to read them from a serial port using something like the scanf() function.

You will need the mbed serial port drivers and a serial port terminal program if you don't already have them installed but that's it.

Accepted Answer