Error while trying to run the code for getting sms alert for temperature threshold. Can I also know how to paste the code because Ctrl+V isn't working
After writing try: in 13th line, press tab in line 14th and do the same for next 6 lines. For line 14th and 15th press tab only one time and for lines 16th,17th , 18th, 19th press tab 2 times.
For pasting the code in terminal then you need to use ctrl+shift+v keyboard shortcut.Response=sms.send_sms(“the current temp is :” +str(sensor_value)) the mistake is in that line
@itisshlok This is due to indentation error. Please make sure that you have used either spaces or tabs in your code.