1. mpuvdd

    Thread Starter Active Member

    Feb 11, 2007
    50
    0
    Hello all,
    When programming in PBasic for a BS2 micro-controller, how do you make (or is it possible) I/O pins source or sink things while the rest of the program is running? Any help would be greatly appreciated.
    Thanks,
    mpuvdd
     
  2. electronics wiz

    Active Member

    Mar 15, 2007
    54
    0
    what do you mean by "sink".
     
  3. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    There should be a data sheet about the BS2 that describes how to alter the individual pins for I/O. As any BASIC can deal with PEEK and POKE functoons, there should be little trouble with writing code to change any pin from an input to an output. The ampont of current any individual pin can source/sink is likely to be pretty small, though. Again, the data sheet tells all.
     
Loading...