brook has joined #beagle
starblue has quit [Ping timeout: 246 seconds]
starblue has joined #beagle
Shadyman has joined #beagle
vagrantc has quit [Quit: leaving]
otisolsen70 has joined #beagle
wonko-the-sane has quit [Quit: leaving]
rob_w has joined #beagle
johanhenselmans has joined #beagle
KREYREN__ has joined #beagle
KREYREN_ has quit [Ping timeout: 246 seconds]
ikarso has joined #beagle
florian has joined #beagle
zjason` has joined #beagle
zjason has quit [Remote host closed the connection]
Shadyman has quit [Remote host closed the connection]
zjason`` has joined #beagle
zjason` has quit [Remote host closed the connection]
starblue has quit [Ping timeout: 240 seconds]
ft has quit [Quit: leaving]
starblue has joined #beagle
starblue has quit [Client Quit]
wonko-the-sane has joined #beagle
rcn-ee has quit [Server closed connection]
rcn-ee has joined #beagle
ketas has quit [Ping timeout: 240 seconds]
khilman has quit [Server closed connection]
khilman has joined #beagle
buzzmarshall has joined #beagle
Stat_headcrabed has joined #beagle
Stat_headcrabed has quit [Client Quit]
ketas has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook_ has joined #beagle
vagrantc has joined #beagle
brook_ has quit [Read error: Connection reset by peer]
brook_ has joined #beagle
brook has quit [Ping timeout: 240 seconds]
florian has quit [Quit: Ex-Chat]
ikarso has quit [Quit: Connection closed for inactivity]
vvn has quit [Quit: WeeChat 4.0.4]
vvn has joined #beagle
brook_ has quit [Remote host closed the connection]
vvn has quit [Quit: WeeChat 4.0.4]
vvn has joined #beagle
wonko-the-sane has quit [Quit: leaving]
rob_w has quit [Quit: Leaving]
brook has joined #beagle
starblue has joined #beagle
Siegurd has joined #beagle
<Siegurd> Hi! Does anyone has BBB ADC C/C++ example which uses a bufer (/sys/bus/iio/devices/iio\:device0/buffer)?
<set_> Sorry. Wrong one.
<set_> https://pastebin.com/TsFZCXsc is something I found... Now, it will help w/ finding the culprit but it also has a buffer!
<set_> I think it reads until 640 bits are processed and/or 99 ms is delivered. Which ever first?
<set_> off to test.
<Siegurd> I found this example but couldn't get it to work https://www.teachmemicro.com/beaglebone-black-adc/
<set_> The buffer example is not working for me just yet.
<set_> I tried w/ it as a .c and then a .cpp file. I also tried #define _XOPEN_SOURCE 500
<set_> I erased some parts and added some other parts.
<set_> So far, no go.
<Siegurd> I think it has nothing to do with the ADC
<set_> You are right but you can put the adc fd in it.
<set_> Get a dummy board!
<set_> This way, you do not mess up your build.
<Siegurd> reading adc chaneel in raw mode is slow and not recomended. Only buffer can give something around 200000 readings in second
<set_> Oh. I just do not know what this does for now: 'A'
<set_> The rest of the heap can be scrapped.
<set_> it is fast!
<set_> I got like 40000000000 in seconds. Although it is just 'A'.
<set_> https://pastebin.com/qXTwYuaM is something I will try w/ the ADC soon.
<set_> Make sure you CTRL-C that test before it eats up everything.
Siegurd has quit [Read error: Connection reset by peer]
aussetg has quit [Remote host closed the connection]
aussetg has joined #beagle
ikarso has joined #beagle
<set_> Hello?
vvn has quit [Quit: WeeChat 4.0.4]
vvn has joined #beagle
darkapex has quit [Remote host closed the connection]
darkapex has joined #beagle
<set_> Oh! buffer
<set_> I see it now.
<set_> Sorry. I thought we would read and then create output from the read.
vagrantc has quit [Ping timeout: 240 seconds]
vagrantc has joined #beagle
otisolsen70 has quit [Quit: Leaving]
CrazyEddy has quit [Ping timeout: 240 seconds]
ft has joined #beagle
KREYREN_ has joined #beagle
CrazyEddy has joined #beagle
KREYREN__ has quit [Ping timeout: 246 seconds]
ds2 has joined #beagle
philenotfound has quit [Server closed connection]
philenotfound has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
brook has quit [Ping timeout: 244 seconds]
vagrantc has quit [Quit: leaving]
CygniX has quit [Excess Flood]
CygniX has joined #beagle