CH6PROJECT.bs2 - '19 chars in message OUTH = 000000'All...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
'What's a Microcontroller-firstprogram.bs2 'use a lookup table to store and display digits with 'a 7- segment display. Spell out the message: fish Chips and Dip 'BASIC Stamp sends message to Debug Terminal ' {$STAMP BS2} ' {$PBASIC 2.5} ' patterns of 7-segement display to create letters A CON %11110101 c CON %01100011 d CON %10010111 F CON %01110001 H CON %10110101 I CON %00100001 n CON %00010101 P CON %11110001 S CON %01110110 space CON %00000000 Index VAR Bytes
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: '19 chars in message OUTH = %00000000 'All off to start DIRH = %11111111 'All leds must be outputs PAUSE 1000 '1 Sec. before 1st message DO DEBUG "index outh", CR, "----- --------",CR FOR index =0 TO 18 '19 chars in message LOOKUP index, (F, I, S, H, Space, C, H, I, P, S, Space, A, n, d, Space, d, I, P, space), OUTH DEBUG " ", DEC2 index, " ", BIN8 OUTH, CR PAUSE 400 '400 ms between letter NEXT LOOP...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern