Menu

What are your tricks and tips?

Anobium
2021-07-27
2021-09-13
  • Anobium

    Anobium - 2021-07-27

    https://github.com/Anobium/Great-Cow-BASIC-Help/blob/master/source/tricksandtips.adoc

    What are your great tricks and tips you can share ?

    We have put a few, as examples, in the Help page. The URL above will show you the latest version.

    Do share yours.

     

    Last edit: Anobium 2021-07-27
  • William Roth

    William Roth - 2021-09-13

    Did you know that multiple pins can be used simultaneously as a peripheral output ?
    Example:

    Sub InitPPS
    
            'Module: UART pin directions
            Dir PORTC.6 Out    ' Make TX1 pin an output
            Dir PORTB.6 Out    ' Make TX1 pin an output
            'Module: UART1
            RC6PPS = 0x0020    'TX1 > RC6
            RB6PPS = 0x0020    'TX1 > RB6
    
    End Sub
    

    Hardware Serial (TX1) data will now be output on both B.6 and C.6

     

    Last edit: William Roth 2021-09-13

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.