Thread: Stamp Help
View Single Post
  #2   Spotlight this post!  
Unread 23-06-2002, 21:57
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: Stamp Help

Posted by Jerry Eckert.

Engineer from Looking for a team in Raleigh, NC sponsored by .

Posted on 2/21/2000 10:44 PM MST


In Reply to: Stamp Help posted by Ricardo Wickert on 2/21/2000 9:58 PM MST:



: Hi there,
: Can someone who has the 'The BASIC Stamp IIsx documentation v1.3' PLEASE send it to me ASAP to rwickert@vanet.com.br because I am having trouble getting to Parallax Website ( is anyone else, BTW )?
: OR... anyone got idea on how the advertised 64 byte 'scratchpad' that InnovationFirst website speaks of?
: Thanks a lot,
: Rick @ #383 ( still working @ 3:00 here in Brazil 12 hours to go!!! )

The scratchpad RAM is accessed using the GET and PUT commands. The syntax is:

GET location,variable
PUT location,value

'location' is 0-62 (63 bytes total)

location 63 reads as the currently active program ID

Note that the locations wrap at 63 (accessing location 64 is identical to location 0, 65 to 1, 66 to 2, etc.).

The GET and PUT commands read and write byte values only. If you want to store or retrieve a word value from the scratchpad you will have to perform two operations.

An example program:

speed var byte

speed = 250
put 1,speed ' stores 250 in scratchpad location 1
...
get 1,speed ' retrieves value from scratchpad location 1





__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.