Programming Error with Automated Gardening system

jbarchuk:

aj33690:

# include from

If you meant to include a library then the structure is, no space, angle brackets...

Unless, of course, the file you wish to include is in the same directory as the program being compiled. Then you should use double-quotes (so #include "myheader.h").

I believe http://gcc.gnu.org/onlinedocs/gcc-2.95.3/cpp_1.html#SEC6 is an older but somewhat applicable document.

Regards,

Brad
KF7FER

EDIT: Some real interesting code too.... I don't think this will compile:

# SENSOR:1
# DEBUG:anything ending in a newline...
error below
from BeautifulSoup import BeautifulSoup
import urllib2, serial, time, sys
from serial.serialutil import SerialException

port = '/dev/tty.usbmodem411'
ser = serial.Serial(port, 9600)