Search results

  1. B

    Blinking LED while processing data

    Does anyone know if there is a way to continuously blink and LED while allowing basic code to continue on and process data ? Scenario is : 1. Read some sensor data 2. Based on data value, blink one of 3 LEDs continuously 3. Goto #1 while the LEDs are still blinking until next data read (which...
  2. B

    18M2 Flashing LED Question

    I have two LEDs connected to my 18M2. The 18M2 is using a 3.3v input from an LDO regulator. Regulator output is rock solid at 3.3v. Blue connected to c.7 Yellow connected to b.6 The blue LED is on solid. When I rapidly strobe the Yellow LED the Blue LED dims at the same frequency as the yellow...
  3. B

    ASCII to Integer ?

    After using BIN2ASCII, is there any way to convert the ASCII chars (in D0-D4) to numeric to perform math functions on them ? BinToASCII Humidity,D4,D3,D2,D1,D0 This is TRUE If D3="2" This is NOT TRUE If D3=2 then Bud
  4. B

    AXE091 Input Voltage Question

    I desire to use a 3.3v input source to power my 18m2+. Is there any way to power it on the dev board with 3.3v ? Using the supplied battery case its driving about 4.6v to the 18m2 socket. I have an 3.3v LDO Linear vReg I want to use on the dev board if possible. Reason being I would like to...
  5. B

    ASCII Characters in sertxd Output ?

    I searched the forum on this with no luck.. The following command.. sertxd ("Humidity = ", #HumTotal, cr, lf) Outputs this.. [00]Humidity = 70 :confused: I expect this.. Humidity = 70 Does anyone know why the [00] is being written to the output ? Thank you. Bud
  6. B

    ReadADC Question

    I have been working on a project using an 18M2, and HIH-5030 (Humidity Sensor), and DS18B20 (Temp Sensor). The ReadTemp works great every time on the DS18B20, the ReadADC on the HIH-5030 (near linear output) is messing me up... I have been able to obtain correct readings from the HIH-5030 at 6v...
  7. B

    Can't Tally Numbers..

    I am trying to keep a running tally of 30 measurements with the following code. 30 times around the loop and tally all the b.1 readings into b8. b8 is giving me crazy results. Seems to work the first time through, then goes to 0, then goes to first reading, then to 0 again... What am I doing...
Top