#avr | Logs for 2015-12-09

Back
[01:02:23] <ThatDamnRanga> question with potentially obvious answer that I couldn't easily see in the datasheet... possible to run input capture and output compare over the same timer simultaneously?
[01:14:15] <sabor> ThatDamnRanga: yes, it's possible as long as you do not choose a timer mode which prevents it
[01:14:36] <sabor> some modes have ICR or OCR as TOP of the timer
[01:17:43] <ThatDamnRanga> running phase-correct PWM mode, so nope
[09:08:49] <rue_house> #define limit(v, l, h) ((v) > (h)) ? (h) : ((v) < (l)) ? (l) : (v)
[09:09:08] <rue_house> modify, if needed, V to be between L and H
[10:39:47] <wondiws2> where do I set the Com port of my STK500 programmer in AVR Studio 7?
[12:35:27] * LeoNerd idly ponders on Rust for AVR
[12:35:36] <LeoNerd> It doesn't actually look that unreasonable
[12:44:03] <Jartza> humm
[12:44:05] <Jartza> never tried rust
[12:46:22] <LeoNerd> Neither have I, but the more I read about Go the more I think I like Rust
[12:46:34] <LeoNerd> I've yet to see anything about Rust I didn't like, whereas I seem to dislike most things about Go
[12:51:20] <Jartza> I haven't tried Go either, but I have few friends who use it on embedded stuff and seem to like it
[12:54:27] <Jartza> but Rust seems to use LLVM, and there's LLVM-AVR project
[12:54:35] <Jartza> so I guess it might be doable
[12:56:21] <Strangework> Jartza - I've never heard of anyone actually using Go in embedded contexts; conversation invariably ends when some brings up the GC. What's your friends experience with Go, and on what devices?
[12:58:55] <Jartza> I think he uses it mainly on ARM
[12:59:02] <Jartza> not 100% but I can ask
[12:59:44] <Jartza> and I'm only stating what I discussed with him, he said he's been lately "only coding with Go on embedded"
[13:00:14] <Jartza> but looking at the languages I'm not sure how good either of them would be for 8-bit avr
[13:00:21] <Jartza> maybe for 32-bit that's a different story
[13:17:34] <DKordic> LeoNerd: I accidentaly saw [[https://zinc.rs/][Zinc]] (ARM). Why should I care about Rust?
[19:38:49] <rue_house> // for linear remapping of number ranges, see arduino map()
[19:38:56] <rue_house> // think of a line, between Il,Ol and Ih,Oh, this solves the y for given x position
[19:39:01] <rue_house> #define RangeRemap(v,Il,Ih,Ol,Oh) (((((v)-(Il))*((Oh)-(Ol)))/((Ih)-(Il)))+(Ol))
[21:54:03] <Jartza> morning
[21:54:35] <Tom_itx> goodnight
[21:54:43] <Jartza> :)
[21:57:48] <Tom_itx> see... the earth _isn't_ flat
[22:10:01] <Jartza> fortunately... would be scary as hell to drop off from the edge >D