#avr | Logs for 2016-06-20

Back
[02:34:36] <anton02> what does 'pins' having a value of 3 written to it mean here? https://developer.mbed.org/handbook/BusInOut
[02:36:27] <rue_bed> is that arduino code?
[02:37:14] <rue_bed> no, it almost looks like something else
[02:37:33] <rue_bed> like a basic stamp but in C
[02:38:23] <rue_bed> I think they are reading a button
[02:38:33] <WormFood> That's OOP. Why uses OOP on a microcontroller?
[02:38:58] <WormFood> And, it's for ARM
[02:39:11] <rue_bed> aaaarm, ok
[02:39:12] <WormFood> anton02, why are you asking about ARM code in an AVR channel?
[02:41:00] <Casper> because he obiviously know no better?
[02:41:50] <anton02> because #arm has 6 people
[02:43:27] <anton02> they are writing 3 to the pins. i would have interpreted this to mean they're pulling the 3 pins high. But then when they switch the pins to being output instead of input they then check if their value is 6 which wouldnt fit that reasoning
[02:43:35] <Casper> this channel is not about arm, we don't know arm, ask them or ask google
[02:44:07] <anton02> people are open to learning new things
[02:44:49] <Casper> this channel is dedicated to AVR
[02:45:00] <Casper> running non-arduino code
[02:46:19] <anton02> #mbed has 21 people. nice
[02:46:50] <WormFood> I'm not here to learn ARM
[02:47:04] <flutterbat> anton02: theres also #stm32
[02:47:29] <WormFood> #debian gets the same problem. Ubuntu people asking questions because they're being ignored in #ubuntu
[02:47:35] <anton02> wow, that has heaps of people
[02:50:44] <Casper> WormFood: The problem I see with those people is that they ask specific question about their own distro, and then wonder why they don't get what they want... I find it ok to ask general question and find a way to adapt the answer to your distro, but... "but this command don't work! (package manager)" ...
[02:51:43] <WormFood> It's not ok to ask general questions in those channels, as there are channels like #Linux for asking those kinds of questions in
[02:52:27] <Casper> I find that #linux and the like are full of idiots that know nothing most of the time... heck, sometime I even wonder if they touched linux..
[02:52:28] <WormFood> When I'm trying to help someone in #debian, one of the first questions I ask, is what distro are you using/
[02:52:42] <WormFood> I don't hang out there :P
[02:54:27] <felixphew> the amount of linux and osx questions we get in #freebsd is astounding
[02:54:49] <WormFood> That's interesting.
[02:55:43] <flutterbat> Casper: #Linux is private :p
[02:55:44] <felixphew> I must say I'm also guilty of having asked generic android questions in #cyanogenmod, for example
[02:55:45] <Casper> felixphew: but everyone knows that bsd and linux is identical! And since macos is bsd based then it mean it run freebsd! ...
[02:56:11] <Casper> flutterbat: ##linux then
[02:56:22] <felixphew> Casper: you forgot /s
[02:56:26] <WormFood> Now, I can understand someone asking a question in the wrong channel, if they weren't paying attention. That's happened to me. I asked a Debian question in #Drupal once, because I wasn't paying attention (and actually got an answer too)
[02:57:30] <felixphew> yeah... sometimes people (including me) will answer linux/osx questions if it's a generic *nix question, or if it's even vaguely related to bsd
[02:59:05] <WormFood> There should be a *nix channel, since many questions about Linux, *bsd, osx, and others would be the same.
[03:00:08] <Casper> one thing is: those who don't know what they talk about should just shut up
[03:00:21] <Casper> that would help soooo much
[03:00:54] <WormFood> What is funny, is people that think they have a clue, but don't.
[03:01:27] <WormFood> The retards who think you can connect your VCR to your microwave, so you can record 60 minutes in 20.
[03:01:55] <Casper> every single time I have a linux issue and go to #gentoo or ##linux or #linuxhelp... and people obiviously don't know what they talk about... yet refuse to shutup...
[03:02:17] <WormFood> Sometimes they don't even comprehend the question you've asked
[03:02:20] <Casper> or force you to do the thing their way...
[03:02:58] <WormFood> And tutorials that say do A, do B, do C, I'm not gonna tell you why, just do what I said....are the best.
[03:03:00] <Casper> "I want to do this in bash" "use perl, done"
[03:03:16] <WormFood> I do a lot of shit in bash, I should use perl or python for.
[03:03:46] <WormFood> I've written some fairly complex software in bash. I even wrote a program to scrape videos off lynda.com in bash
[03:03:55] <Casper> same, but I don't know perl nor python
[03:03:58] <WormFood> And, it does a damn good job at it too.
[03:04:00] <WormFood> me too
[03:04:10] <WormFood> I was learning python, but it's a little odd to me.
[03:04:27] <WormFood> For serious stuff, I'll use C. If it needs a graphical interface of some type, I'll use php
[03:04:41] <Casper> and even if I knew how, I will not convert that script to perl just due to that ONE tiny issue
[03:04:46] <WormFood> If it wasn't for that fact, would have never written my avr bit rate calculator
[03:05:06] <WormFood> Of course not. Not unless you could do it quickly and easily.
[03:06:23] <Casper> usually it start with a simple thing...
[03:06:33] <Casper> ... and grew complex as you discover issues
[03:06:47] <Casper> like when I had to record some camera
[03:07:02] <Casper> it started super simple
[03:07:25] <Casper> wget with a post, you get a cookie
[03:07:32] <Casper> wget the video url with that cookie
[03:08:07] <Casper> nope, the video cut randomly... and is basically unplayable...
[03:08:16] <Casper> found that after a while...
[03:08:53] <Casper> so added a mencoder, that basically just rip and save 15 minutes, then relog, repeat and rince...
[03:09:05] <Casper> ... the camera report the wrong framerate
[03:09:19] <Casper> and so on..
[03:09:24] <Casper> yes, the camera was chinese
[03:16:30] <veek> Casper, or they don't reply at all :p
[03:20:02] <Casper> camera? or linux? both applicable actually
[09:19:20] <LeoNerd> Mm.. ordered two new bits of test equipment. One's a milliohm meter - good up to about 1ohm. The other's a megohmeter - starts at 1M, up to about 1000Mohm. At 500/1000V
[09:19:49] <LeoNerd> Interesting the range here
[09:35:32] <carabia> what are these for? especially the meg one, you doing some serious insulation stuff or what?
[09:36:13] <LeoNerd> Well, not "serious" as such.. it's a cheap one
[09:36:15] <LeoNerd> £25 or so
[09:42:20] <LeoNerd> Just thought it woudl be useful for testing insulation of either my equipment or the things I'm actually making
[09:48:17] <LeoNerd> The miliohm one is for testing tiny current-sense resistors, PCB traces, etc..
[09:51:21] <carabia> yeah, i figured as much
[09:51:23] <liwakura> also, cool equipment is cool
[12:15:06] <carabia> i quite like the simplicity of expresspcb
[14:22:02] <sebus> LeoNerd Ye, megaohm meter is *mandatory* if you mess around serious stuff eg. electrochemical gas sensors like this http://s7.fmdx.pl/oxy_sens.jpg
[14:25:01] <sebus> Once I had to fix oxygen meter... Yuck, there was some 2GOhm resistance between sensor leads... -.-
[14:29:15] <LeoNerd> sebus: I'm making 1kV insulated RS-485 stage kit
[14:29:36] <LeoNerd> Plug the wrong phase in and you might have 415Vac across it
[14:31:50] * antto steps away from LeoNerd's sh*t..
[14:32:47] <antto> pls don't throw 415VAC around in a channel which normally deals with 5V.. i predict only bad things
[14:36:13] <LeoNerd> Mmmm. It's a worst case scenario
[14:37:45] <learath> antto: BORING
[14:42:00] <sebus> oh, sounds fun :D About a week ago teammate at work tried to reconfigure our small "relay" unit. He though it was supplied from 230V AC (nope, 24V AC). Guess what happened with his laptop LeoNerd :D
[15:25:09] <skz81_home> hi guys... Remember this discussion about noting E, U or V the voltage potential difference ?
[15:26:38] <skz81_home> Was reading this article, with kind oldy schematics : http://www.sparkbangbuzz.com/flame-amp/flameamp.htm
[15:28:10] <skz81_home> @power gain chapter, one can see a voltmeter in the circuitry, with an arrow indicating polarity (i,
[15:28:49] <skz81_home> And, noted V
[15:29:27] <skz81_home> Above in the description, on can read "as measured by volt meter V"
[15:33:00] <skz81_home> I'm pretty sure this is the orignal archaic figuration for voltage mesureament, that t
[15:33:07] <jacekowski> U
[15:33:20] <jacekowski> U is the only correct symbol
[15:33:23] <skz81_home> that lead to ARROW / V notation in schemes.
[15:33:28] <skz81_home> why ?
[15:33:58] <skz81_home> E is Electromotive Force, okay
[15:34:05] <jacekowski> because V stands for Volts
[15:34:05] <skz81_home> V is voltmeter.
[15:34:12] <jacekowski> not voltage
[15:34:19] <skz81_home> U is only a variation of V
[15:34:23] <skz81_home> x, y, z...
[15:34:54] <skz81_home> But I may be wrong, please learn me if you know a better explanation :)
[15:35:24] <jacekowski> it's a lot more confusing if you use V for both the symbol and unit
[15:36:05] <skz81_home> hu... You mean I **CAN'T** write : "there is a voltage of 'V' Volts"
[15:36:10] <skz81_home> why not ?
[15:36:46] <jacekowski> but what if you write something along the lines of P=2V
[15:37:08] <jacekowski> does it mean P (power) equals to 2 volts
[15:37:19] <jacekowski> or 2 * voltage
[15:37:54] <skz81_home> Though, i learned that U = R.I, right, but here i'm speaking... archeology... Not "what is right and less confusing right now"
[15:38:23] <jacekowski> i think it comes from americans that decided to use V
[15:38:28] <jacekowski> but i don't really know why
[15:38:37] <jacekowski> because for current they were ok with I
[15:38:39] <skz81_home> if U mean that power is 2 volts, you're wrong ANYWAY
[15:39:16] <skz81_home> Okay, you didn't read about the debate last time I guess :)
[15:40:47] <jacekowski> antto: actually, i've designed a device that did rs485 and few other things, and it was designed to accept 400V on any port and not fail (it would not work, but if you connected it correctly afterwards it would carry on working as nothing ever happened)
[22:11:39] <WormFood> [04:11:36] <jacekowski> i think it comes from americans that decided to use V <-- what makes you think that has anything to do with Americans? This seems to be a worldwide thing. And, for the record, when I was in school (in usa), we *always* used "E", and never "V" in formulas.
[22:48:52] <rue_shop3> voltage vs electromotive force?