Subject:
|
Re: Is this an error in legOS 0.2.5?
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Sun, 29 Jul 2001 11:08:37 GMT
|
Viewed:
|
1552 times
|
| |
| |
So in the original firmware, the system is shut down if ultra-low battery is
detected. If
we don't want tot do that, we could change the ">" in the 2nd compare to a
"<" to
get some hysteresis.
Or would it be usefull to stop legOS and do a shut-down / power off if ultra-low
battery is found? May be with some SOS-noise?
Mike
> if (battery power (cc5a) > 1a2c (6700 mV))
> call ROM 1e4a (r6=301b) // clear battery low indicator
> else if (battery power (cc5a) > 189c (6300 mV))
> call ROM 1b62 (r6=301b) // set battery low indicator
>
> In original firmware we also got:
>
> else
> battery low (cc64) = 1
> call ROM 27ac
> call ROM 1b62 (r6=301b) // set battery low indicator
> call ROM 27c8
> call ROM 339a (r6=0) // reset internal minute timer
> minutes to power off (cc12) = 1
>
> that in legOS is missing.
|
|
Message has 1 Reply: | | Re: Is this an error in legOS 0.2.5?
|
| (...) ultra-low (...) Would that really make sense? Since changing batteries destroys all memory, the program will not survive despite advance warning about the impending doom of battery low. In effect, changing the batteries is equivalent to the (...) (23 years ago, 30-Jul-01, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Re: Is this an error in legOS 0.2.5?
|
| (...) in (...) Statement should be right. It's same behavier found in original firmware: (URL) (battery power (cc5a) > 1a2c (6700 mV)) call ROM 1e4a (r6=301b) // clear battery low indicator else if (battery power (cc5a) > 189c (6300 mV)) call ROM (...) (23 years ago, 28-Jul-01, to lugnet.robotics.rcx.legos)
|
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|