Post Created date
about ambient light sensing
Basically the entire project's like when there's motion detected by a motion detection sensor, the LED lights should turn on gradually if the ambient light sensor detects that it'...
Thursday, 22 March 2018 - 16:02
about ambient light sensing
@ki0bk   Yes, I did the following already in a 1 second RTC interrupt (the complete ISR that I currently have, MEASURE ALS, and ADC_WAIT are already defined with #define...
Wednesday, 21 March 2018 - 18:06
about ambient light sensing
hi,   Ambient light goes down and then the brightness of LED goes up to sort of like compensate for the ambient light sensor value change and it's done every 30 minutes (30...
Wednesday, 21 March 2018 - 17:25
about ambient light sensing
hi again,   ok every 30 minutes, turn off light, read ambient light quickly for like 30 or so ms (I see bncache said 50 ms but anyway), then you adjust the brightness at that...
Wednesday, 21 March 2018 - 16:16
about ambient light sensing
hi,   i'm back. actually the 30 milliseconds deal, i think it was just to turn off the light, measure the ambient light for that 30 ms period and then just adjust the...
Monday, 19 March 2018 - 17:32
Need help! LED does funny stuff on simple command, not sure why [attiny816]
@frog_jr, So using the DIRSET to set pin as output makes the pin go low already??? and what does OUTCLR really do in that case??? Just so I am clear.    @theusch I was...
Thursday, 15 March 2018 - 20:32
Need help! LED does funny stuff on simple command, not sure why [attiny816]
I'll look at the stuff later. I'm gonna get myself a new board and do a comparison. That's my goal for now. Thanks for the help everyone, will be back if there's still more issues...
Thursday, 15 March 2018 - 20:12
Need help! LED does funny stuff on simple command, not sure why [attiny816]
From one test (I'll try more later to double verify what I'm seeing). Yes the led on PB5 is active low. Anyhow, I have in atmel studio currently a breakpoint set at line that says...
Thursday, 15 March 2018 - 19:22
When to use sei() when you have multiple interrupts?
Hi, Kartman   thanks for the information. so far, never used hardware flag before. Am using an attiny817/816 at the moment. If could provide where I can look up hardware flag...
Sunday, 11 March 2018 - 07:53
need help with getting a 1 sec timer [ATtiny817]
Thanks for the help  @ larryvc   I'll give it a whirl later when I got some more time.     One other question, but this is relating to split mode of the Timer...
Friday, 9 March 2018 - 19:45
need help with getting a 1 sec timer [ATtiny817]
Hi Who-me   No, this isn't homework of any kind. I'm just trying to get things working is all.   Also was just trying to get TCB to do it's thing without having to be...
Thursday, 8 March 2018 - 23:53
need help with getting a 1 sec timer [ATtiny817]
Hi Larry,   Thank you for replying to my post.   I had done a simple code to get a LED to blink at roughly 1 Hz frequency using Timer A on the 817.   To get a 1 Hz...
Thursday, 8 March 2018 - 23:34

Pages