Oh, I just meant similar to LUA's "local" variables. Sometimes its bad to have variables act global. It keeps biting me, outputs stay open, etc.
I think it's safe to blur a bit -- every bit of functionality you add takes it a bit closer. I think its safe to say that adding an internal timer makes it a real CPU!
Honestly, I'm not sure what you are nervous about. I think it's fun to push this little chip as far as it will go. If we break it, we can always roll back a version or two!
Oh, another idea -- simple arrays. I'd like to make a spybot that uses GPS instead of waypoints.
WaypointsX = array( '35','25','155' );
WaypointsY = array( '25','123','3' );
WaypointsZ = array( '31','111','52' );
CurrentWayPointX = WaypointsX[0];
CurrentWayPointY = WaypointsY[0];
CurrentWayPointZ = WaypointsZ[0];[/b]
Bookmarks