Boe-Bot, need help for code.
Hi all, in RoamingTowardTheLight.bs2 herewith attached it is written in Main Routine "For mismatched photoresistors, use Appendix F (done), uncomment (what?) and use next line (where?)"
I've found: timeLeft = (timeLeft */ 384 - 7)
Questions:
What line must I comment?
Where must I place "timeLeft = (timeLeft */ 384) - 7"?
Thank you in advance.
Best regards.
I've found: timeLeft = (timeLeft */ 384 - 7)
Questions:
What line must I comment?
Where must I place "timeLeft = (timeLeft */ 384) - 7"?
Thank you in advance.
Best regards.
Comments
For RoamingTowardTheLight.bs2 you will replace the third line in the DO...LOOP of the Main Routine with your values. Currently it reads:
You don't need to comment anything out of this code, but you will have to remove the comment from in front of the equation and replace the equation with your own values. Otherwise, the compiler will skip over that completely. So yours would read like so:
I hope this helps, please let me know if you need any further clarification.
Jessica
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jessica Uelmen
Education Department
Parallax, Inc.