Hello Athanasius!
Thanks for the reply and the write up. There is no delimitor such as "-", ":", "," and so on it is white space..and the photo resistor sends the following to the serial monitor: Light - 235, 226, 212, 256, 280 every one second and this is an ever changing number and like wise if it is Dark - 345, 332, 389, 367 every one second when the photo resistor is covered. So that is why I need to capture a range of numbers for light and dark so the lights will either be turned on or turned off....and it is always 3 digits in length.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|