Topic's
- Lecture Notes
- Serial Lab
- File programming
Lecture Notes
I wrote a simple hello world program.
I did a little bit a research into pointers and found a way to print out the memory location of our variables.
I had some trouble with my syntax but Edgar showed that I was using the wrong write to control statement for the servo. I had been using analog write when I should have been using motorname.write.
File Programming
I allow the user to enter in data.
You can also see the file being setup in that previous picture. This is the part of my program to calculate the values I want.
The max values happens here.
This part will make sure you didn't try to end before you started. At the same time, this restricts the time interval to 48 hours.
After that, I got the data printed to a text file.

No comments:
Post a Comment