home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 116,905 of 117,927   
   Waldek Hebisch to albert@spenarnc.xs4all.nl   
   Re: 1 euro Olimex RISC-V mini-PC: this n   
   26 Oct 24 21:01:13   
   
   From: antispam@fricas.org   
      
   albert@spenarnc.xs4all.nl wrote:   
   > In article ,   
   > Waldek Hebisch  wrote:   
   >>   
   >>which outputs bits to data register.  To get actual output one   
   >>need to set direction register and associate PIN with GPIO function.   
   >   
   > I defined set-function by ( fun# gpio#)   
   > and redefine fun# that I always 0 for input , -1 for output.   
   > This make a 1602 driver almost portable except for defining   
   > the port numbers/   
      
   One pin may have several functions, not only GPIO.  Do you mean   
   that you change numbering of functions so that 0 is GPIO input,   
   -1 is GPIO output and other functions get other numbers?   
      
   --   
                                 Waldek Hebisch   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca