 | | Re: Somewhat C challenged.
|
| Victor, The peek(0x1000) statement returns the byte at memory location 1000 (hex). In C, the '&' operator is a bitwise AND. So, what you are doing is ANDing 4 and the contents of 0x1000. What's really going on is you are interested in only bit 3 (...) (30 years ago, 10-Apr-97, to lugnet.robotics.handyboard)
| | |  | | IR in programs
|
| How would I use an if/then statement if I used the onboard IR reciever? Earlier, I downloaded a program that Max Davies wrote to determine the different variables for my remote. In the readme file, it says that the rules are set by a command like (...) (30 years ago, 10-Apr-97, to lugnet.robotics.handyboard)
| | |  | | voltage divider
|
| could the voltage divider circuit shown in the Mobil Robots book (page 116 fig5.20b) be implemented as is OR does the built in pulldown resistors cause it to be modified. Thanks for all the brain dumps, victor (30 years ago, 10-Apr-97, to lugnet.robotics.handyboard)
| | |  | | NOTE 04/10/97 10:50:15
|
| Hi, Can someone help me understand encoders.asm? This is what I deduced from the code and I'm wondering if my guess is correct. 1. When TIC3 and TIC2 inputs are changed, an "interrupt" in execution occurs and and execution immediately jumps to the (...) (30 years ago, 10-Apr-97, to lugnet.robotics.handyboard)
| | |  | | Re: IR in programs
|
| (...) Here is a simple example of how to do 'different things' when you press various buttons on your remote. If you press digits, they are displayed on the LCD. If you press rewind, the LCD is cleared. When you press stop, the program ends. If you (...) (30 years ago, 10-Apr-97, to lugnet.robotics.handyboard)
| |