 | | 6500 returning dd values
|
|
Hello, I connected a Polaroid 6500 to my expansion board on my handy board and tried to test it but it returnes a different value every time, some of them being odd values (eg -24567). Heres how it lies - on the 6500 per. bd. E1 is connected to the (...) (28 years ago, 3-May-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: LEGO light sensor schematic
|
|
(...) Ah... much better, I figured one or two components were backwards. Just to clean up the schematic a bit you could flip R1 (75R) to the right side of the Q4. I would also bring R8 (12R) in line with the LED. This would then be a more standard (...) (28 years ago, 3-May-99, to lugnet.robotics)
|
| |
 | | case statement doesn't work- any clue?
|
|
I'm trying to program some very rudimentary debugging stuff- just outputting variables to the screen. Basically, I want to use a switch/case statement to read an integer variable (in this case ID_number) which is then linked (by the case statement) (...) (28 years ago, 3-May-99, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: case statement doesn't work- any clue?
|
|
(...) Doh! You haven't put any breaks between the cases. BTW, if LegOS can change the semantics of C its cleverer than I thought ... :-) Cheers, Ben. -- (URL) grandfather once told me that there are two kinds of people: those who work and those who (...) (28 years ago, 3-May-99, to lugnet.robotics.rcx.legos)
|
| |
 | | Read me first! Re: case statement doesn't work- any clue?
|
|
Nevermind. Dangit. Forgot break statements like a moron. -Luis (...) ###...### God was my co-pilot, but we crashed in the mountains and I had to eat him. -bumper sticker ###...### (28 years ago, 3-May-99, to lugnet.robotics.rcx.legos)
|