measured the timing of the data and sweep signals and put them into the code as #definitions.
added lots of comments.


Signed-off-by: jensenr30 <jensenr30@gmail.com>