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,616 of 26,127   
   The Natural Philosopher to Chris Green   
   Re: Has gpio changed completely betwen b   
   30 Aug 25 09:11:44   
   
   From: tnp@invalid.invalid   
      
   On 30/08/2025 09:02, Chris Green wrote:   
   > 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'.   
   >   
   Ah. Written by a computer scientist rather than a software engineer.   
   Designed to impress, not to elucidate...   
      
      
      
   --   
   “Some people like to travel by train because it combines the slowness of   
   a car with the cramped public exposure of 
an airplane.”   
      
   Dennis Miller   
      
   --- 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