Discussion Title | Created date |
---|---|
what Im missing in this sleep code Experiment show the following does not work: Power down sleep mode wake up by pin change interrupt. ...some code ISR (PCINT0_vect) { SMCR=0x04; // disable the sleep mode... |
Friday, 14 September 2012 - 16:04 |
ADC measuring <1V Vin The ADC conversion equation is ADC=Vin*1024/Vref Let's choose Vref=1.1V Vin=0.5V The theoretical result should be ADC=465.4545 that round up to integer ADC=466 or 465. But the... |
Saturday, 8 September 2012 - 14:36 |
A N00b question need clearfying When accessing registers, does studio only accept hex numbers? I can only write hex numbers to a register and I can only read hex numbers from register. right? Is there a document... |
Friday, 24 August 2012 - 01:31 |
N00b using mega48 ADC I want to design a simple battery monitor using ADC on mega48. Because the Vcc was sourced from battery which I have to measure, I cannot use Vcc as Vref, instead I have to use... |
Thursday, 23 August 2012 - 00:31 |