Reading last sent command from Serial

wildbill: nice catch :slight_smile:

Toxic: If you don't need to keep the state a simple return or break would suffice instead of keeping a variable around