First post here, and newbie question to boot, so be prepared for what you've probably been asked a few times over..
I've been given a task to use an Atmel ATtiny817 to measure voltages, and output those voltages to the screen like an oscilloscope. I'm a mechanical engineer by schooling, so I have little experience with microcontrollers or programming.
Here are my questions.
1. I've been looking at sample code for calling ports, and I notice that certain things like "DDRB" which for some people's screens on Youtube turns into a purple font, so that their computer recognizes that name, doesn't read into mine, which makes it a bit tricky trying to borrow code. I'm thinking it could be because I use Atmel Studio 7 (versus 6 or 4), or because my of my microcontroller model. The same things happen for types like "UBRRH" where my computer reads "UBRRH_VALUE"
2. I'd like to output the voltages my ATtiny817 gets to the screen, and I have a feeling that Atmel's Data Visualiser is the way to do it. However, I'm not sure how to write any analog input values I read into my serial port, so that they appear in the data visualiser. I'm wondering if there is a library of commands that I can reference which is available on the web, or if it looks like I'm on the right track. Atmel's user guide on the ADV is a bit too technical for me.
Thanks for your help.