Shop OBEX P1 Docs P2 Docs Learn Events
two questions — Parallax Forums

two questions

Lone_huskyLone_husky Posts: 13
edited 2009-02-06 15:42 in BASIC Stamp
hi there,

I have two questions which might be very simple.

1. does anyone have some simple code to calculate the differential on a continous variable? That is a variable that is constantly receiving data from an input sensor?


2. Can one directly output,say to an LCD display a value from scratch ram without assigning it to a variable?

thanks

-V

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-02-06 15:42
    2) No. The only way to access scratch ram is with the GET and PUT statements which move data to and from variables and with the SPSTR formatter in input statements like SERIN. There's no equivalent for output statements like SEROUT
Sign In or Register to comment.