Help, i'm a bit lost
I'm trying some basic circuits to use on my robot for sensors (the bot with 3 servo's on the 18 projectboard with 18x is doing well in its self for the routine i have loaded, now i want to add sensors)
i tried the ldr circuit as in the manuals and the following lines
readadc 1, b0
debug b0
sertxd ("value is" , #xb0, cr, lf)
Funny thing is on the projectboard i do not get any data at all (not in debug, not in the terminal)
adapting it for the 08M board, i get data but with varying numbers despite not changing light conditions.
so how will things work if i want to use a certain level in a "If" statement if the data changes all the time (looks like its alternating between two levels) as on the 08M board
as i also can't get the statement: if pin1=1 the.... working on the projectboard (despite the voltage connected 3,5 - 4,8v) do you think the board or chip is broken on the input side?
rgds
Ron
I'm trying some basic circuits to use on my robot for sensors (the bot with 3 servo's on the 18 projectboard with 18x is doing well in its self for the routine i have loaded, now i want to add sensors)
i tried the ldr circuit as in the manuals and the following lines
readadc 1, b0
debug b0
sertxd ("value is" , #xb0, cr, lf)
Funny thing is on the projectboard i do not get any data at all (not in debug, not in the terminal)
adapting it for the 08M board, i get data but with varying numbers despite not changing light conditions.
so how will things work if i want to use a certain level in a "If" statement if the data changes all the time (looks like its alternating between two levels) as on the 08M board
as i also can't get the statement: if pin1=1 the.... working on the projectboard (despite the voltage connected 3,5 - 4,8v) do you think the board or chip is broken on the input side?
rgds
Ron