Newbie has some questions


Results 1 to 40 of 44

Threaded View

  1. #35
    Join Date
    Nov 2004
    Location
    Saskatchewan Canada
    Posts
    189


    Did you find this post helpful? Yes | No

    Default

    Perfect sense.

    When I wrote last night I was writing +23, but in my mind I was thinking that we were adding a random number not a constant so I was seeing both odd and even possibilities being wrote.

    So, I guess that indirectly I knew the answer! :-)

    Couldn't this:

    Read 0,B0
    W0=W0+23
    Write 0,B0

    also be written as:

    Read 0,B0
    B0=B0+23
    Write 0,B0

    Even when I use RANDOM W0 later it should know W0 to be somethig like %0000000011011011 since a B0 value was previously written at start up?

    I'm going to post a bit of code sometime today. I've been thinking about it using my new found knowledge of bit locations. I'm curious if it would work.

    Thanks.

    Bart
    Last edited by bartman; - 10th November 2004 at 14:01.

Similar Threads

  1. Olympic Timer
    By Melanie in forum Code Examples
    Replies: 47
    Last Post: - 17th September 2008, 19:46
  2. Analog port newbie questions
    By rngd in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th March 2008, 11:38
  3. Newbie: Temperature measurements
    By Budda in forum General
    Replies: 10
    Last Post: - 30th March 2007, 09:56
  4. Hi Everyone! Some newbie questions :-)
    By guest_05 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th October 2006, 22:24
  5. NEWBIE: Some basic questions using interrupts
    By JackPollack in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2006, 02:59

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts