#avr Logs

Aug 13 2021

#avr Calendar

01:34 AM Flecks is now known as Fleck
05:34 AM MetalSutton: does anyone know what the most current and correct way to control raspberry pi gpio pins is?
05:34 AM MetalSutton: There is a gpio command, but it doesnt work and google tells me its pretty dated
05:36 AM exp: MetalSutton: they're exposed via /sys/class/gpio
05:36 AM exp: you don't need any software, 'gpio' is just a thin wrapper around that AFAIK
05:52 AM specing_ is now known as specing
05:56 AM nohit: https://www.ics.com/blog/gpio-programming-using-sysfs-interface
05:56 AM nohit: that's the old way tho
05:56 AM nohit: https://blog.lxsang.me/post/id/33
05:58 AM exp: lol more ioctl options, the most overloaded system in history that is
06:52 AM MetalSutton: omfg
06:52 AM MetalSutton: I was so busy hooking up other pins to a custom programmer board (with capsense trigger) that i didnt connect ground!
06:52 AM MetalSutton: I was debugging code, because once i started an upload, it would be stuck in a loop
06:52 AM MetalSutton: I didnt think that the button was constantly activating via hardware.
06:53 AM MetalSutton: what a moment of dumbness!
09:03 AM exp: is it just me or is PSpice / PSpice for Ti incredibly ghetto
09:03 AM exp: like it has an attractive black look
09:03 AM exp: but just about everything in it is a goddamn nightmare
09:03 AM exp: i want to step a resistor from 10Ω down to 1Ω during a transient sim, and the answer seems to be 'oh just define a custom voltage controlled resistor part, it only takes a half dozen components'
09:03 AM exp: really? i have to make a ghetto constant current driver just to test a load step?
09:04 AM exp: there are allegedly two expressions that allow this to work easily, TABLE() and STP(), both of which have examples which do not function in a transient simulation
09:04 AM exp: and no answers on google, sigh
12:28 PM Phantom: exp: most simulators suck
12:29 PM Phantom: in fact, I never seen a good simulator yet
12:42 PM Thrashbarg: how's LTSpice for most people here? I've found it to be adequate
12:46 PM qu1j0t3: i use it a fair amount, but as of right now i have something it cannot simulate
12:47 PM qu1j0t3: UI could definitely do with a lot of investment lol
12:47 PM Thrashbarg: yeah lol
12:47 PM qu1j0t3: is there a non-SPICE based sim? Microchip's?
12:49 PM Thrashbarg: I've looked at Micro-Cap but it has a learning curve I've already climbed with LTspice
12:55 PM exp: qucs is popular in the RF world, but I don't know much about it
05:50 PM specing_ is now known as specing