To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 78
77  |  79
Subject: 
RE: How is the battery doing?
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Tue, 11 May 1999 23:11:16 GMT
Viewed: 
1154 times
  
I eventually got my battery monitor working, constants from Kekoa:

: .V
  BASE @ DECIMAL
  RCX_POWER [ HEX ] 4001 POWER_GET
  RCX_POWER @ [ DECIMAL ] 10997 390 */
  0 <# [CHAR] V HOLD # # # [CHAR] . HOLD #S #> TYPE CR
  BASE !
;

You could just format the number to the LCD, maybe when you press
a certain combination of buttons on the RCX?

Cheers,

Ralph Hempel - P.Eng

------------------------------------------------------
The train stops at the train station,
The bus stops at the bus station,
So why am I sitting at a work station?
------------------------------------------------------
Reply to:      rhempel at bmts dot com
------------------------------------------------------



Message has 1 Reply:
  Re: How is the battery doing?
 
Could do, but I'm using the display to debug the DEFCON code at the moment. (25 years ago, 12-May-99, to lugnet.robotics.rcx.pbforth)

Message is in Reply To:
  How is the battery doing?
 
Time to start a new thread I think. I eventually got my battery monitor working, constants from Kekoa: : .V BASE @ DECIMAL RCX_POWER [ HEX ] 4001 POWER_GET RCX_POWER @ [ DECIMAL ] 10997 390 */ 0 <# [CHAR] V HOLD # # # [CHAR] . HOLD #S #> TYPE CR (...) (25 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)

3 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR