Shop OBEX P1 Docs P2 Docs Learn Events
Stamp 2p thermometer/clock — Parallax Forums

Stamp 2p thermometer/clock

edited 2007-05-29 16:23 in BASIC Stamp
I am trying to program an LCD display to alternate between displaying temperature and time kinda like the big bank displays you see while driving.· I am going to etch a pcb today for it and am worried about wether the stamp will still hold the program after being transfered from the BOE to the PCB.· Do i need to make room on my PCB for a programming port, and if not how does the program get initialized?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-05-29 16:23
    The program resides in an EEPROM on the Stamp's hybrid substrate. It should hold the program for years unless the program is deliberately erased or overwritten. When the Stamp is powered up, the Basic interpreter initializes itself, then starts the Basic program in the EEPROM at its beginning which, in turn, does whatever initialization you've programmed.

    If you anticipate some changes to the program, it would be better to provide for a programming port although, if you just put a 4-pin header on the board tied to pins 1-4 of the Stamp, you can provide the extra components (see the PBasic Manual) including the serial connector on an external programming adapter.

    Some people have made projects without a programming adapter and use a BOE or other Stamp board for reprogramming and (carefully ... to avoid breaking the pins) transfer the Stamp from their project board to the reprogramming board and back.
Sign In or Register to comment.