Thread: Computers Nerd homework
View Single Post
Old 10-13-2021, 11:42 PM   #29
stanleychief stanleychief is offline
Veteran
 
stanleychief's Avatar
 

Join Date: Aug 2002
Location: Kansas City, MO
Casino cash: $5266254
Lots of good advice here. I think cdcox and I may have a lot in common. I too have been programming for a long time. Started at 14 yrs old on an Atari 800. That was a few years ago!

Ok, so I dug out my last ESP32 project. If you are using the Arduino IDE, which I would assume you are, you can print variable values to the console by using "Serial.println()". So for instance, if you are trying to see what the actual value of your pressure sensor is, you could do something like this:

Code:
pressureValue = analogRead(A0);
Serial.println(pressureValue);
When I get some down time, and my other hobbies are on hold, I like to tackle IoT projects. A while back, I was doing some prototype work with an ESP32 LyraT board. I wrote an iOS app that would communicate with the board using BLE (low energy bluetooth), prompt the user to select a Wifi SSID, take in the password, and hand that off to the ESP32 board. From there the board would join the Wifi network and initiate a SIP session with a remote VOIP provider. Pressing a button on the ESP32 would initate a SIP voice call to a predetermined number from the device. Essentially, the ESP32 LyraT would become a SIP phone at that point.
Posts: 1,193
stanleychief has just been standing around suckin' on a big ol' chili dog.stanleychief has just been standing around suckin' on a big ol' chili dog.stanleychief has just been standing around suckin' on a big ol' chili dog.stanleychief has just been standing around suckin' on a big ol' chili dog.stanleychief has just been standing around suckin' on a big ol' chili dog.stanleychief has just been standing around suckin' on a big ol' chili dog.stanleychief has just been standing around suckin' on a big ol' chili dog.stanleychief has just been standing around suckin' on a big ol' chili dog.stanleychief has just been standing around suckin' on a big ol' chili dog.stanleychief has just been standing around suckin' on a big ol' chili dog.stanleychief has just been standing around suckin' on a big ol' chili dog.
    Reply With Quote