Reading last sent command from Serial

This:

       blinkmodeon == 0;

Should be this:

       blinkmodeon = 0;