home bbs files messages ]

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

   comp.sys.raspberry-pi      Raspberry Pi computers & related hardwar      26,127 messages   

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

   Message 25,617 of 26,127   
   Chris Green to ldo@nz.invalid   
   Re: Has gpio changed completely betwen b   
   30 Aug 25 09:02:46   
   
   From: cl@isbd.net   
      
   Lawrence D’Oliveiro  wrote:   
   > On Thu, 28 Aug 2025 19:05:55 +0100, Chris Green wrote:   
   >   
   > > The best I've found so far is the 'source':-   
   > >     https://github.com/brgl/libgpiod/blob/master/bindings/python/README.md   
   > >   
   > > It has some Python examples but the coding style is very odd and   
   > > makes it difficult to follow what's going on IMHO.   
   >   
   > I had a look at one or two examples, but they didn’t look very “odd”   
   > to me. Any particular ones you are having trouble with?   
      
   I worked it all out OK, I do write quite a lot of Python code. My   
   comment was rather that the style using 'with' and so on which makes   
   it rather diffcult to actually follow the sequence of calls required   
   to do simple things like 'set this line high' or 'read the state of   
   that line'.   
      
   --   
   Chris Green   
   ·   
      
   --- 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