Spark Core and DS18B20 Digital Temperature Sensor

Help please. I’ve read the get started, I’ve browsed examples, I’ve read the forums,
and I’ve had programming experience with many languages, but I’m still
lost and very frustrated. I haven’t found a simple reference or tutorial on setting up functions or variables when relating to different files.

I’m trying to read info from the core (temperature) but am still lost on
defining variables or functions so I can read them. I’ve left tinker
in place and that is working but I cannot seem to create or read a
temperature value. Anything I try gives me a list of errors. There should be a value in tmpinfo but it can’t be found via get. I’ve tried setting up other variables and they cannot be read either. I’m sure I’m just missing something simple, but i cannot figure out what and have spent way too much time on this already going around in circles.

Can someone please look at this and help me
understand what is needed and how to read a variable or a function.
https://github.com/MisterNetwork/TinkerSense

I’ve tried http://jflasher.github.io/spark-helper/ ,

followed this https://community.spark.io/t/spark-core-and-ds18b20-digital-temperature-sensor/4446

and this https://community.spark.io/t/reading-spark-variables-with-your-own-html-file/4148/5

I’d also love to find a good tutorial on what definitions need to go where. What is the Setup vs the Loop, and what has to be within or outside of those sections.

Thank you in advance!