Type in the full discussion title or a part of it.
Discussion Title Created date
ChipSelect macro: Clever or hairbrained?
Thinking of the possibility of forgetting to set ChipSelect back high after fiddeling, made a macro: static __inline__ uint8_t CS(uint8_t hl) { if (hl==1) { RFcsPORT |= (1...
Wednesday, 27 March 2013 - 01:03
SPI - It's DI and DO, not MOSI and MISO
Trying to get to know NRF24L01 modules, it seemed learning SPI was a good place to start. For some reason, I thought it would be advantageous to use MOSI, MISO and SCLK, and my...
Tuesday, 26 March 2013 - 22:54
Reasonable use of defines?
Seems incredibly clever to me. Wondering what experienced C people would think: #define ButtonSelect PINA & (1<<1) #define ButtonInvert PIND & (1<<4) #define...
Tuesday, 19 March 2013 - 19:11
A! Who ate the Ports View tab?
Give it back!
Tuesday, 19 March 2013 - 16:21
Tip: Boost Regulator Behaving Badly
Had a 3 to 5v boost regulator that was working, but drawing 20mA when it should have been drawing 2mA. If you notice this, check the capacitor on the 3v side of the inductor. This...
Friday, 22 February 2013 - 22:40
Electric - Not electronic
I only know wiring and electrical work on the house side of the breaker panel, so I have to ask about the other side... What's the maximum length for the "pigtail" from the pole...
Monday, 18 February 2013 - 15:19
TPI & the Tiny 10
Sometimes, when I hit the program button, instead of programming the chip, the window just blinks. No error message. No activity. Same behavior without the tiny 10 even connected...
Friday, 8 February 2013 - 16:59
(SCREAM) C IS MAKING ME CRAZY!
Why can't I figure u = v * 4 / 3? Whatever v is, u always gets zero when I assign u = v! (looking in the simulator) volatile int16_t Dir = 1; volatile int16_t v = 0 ; ISR(...
Saturday, 2 February 2013 - 18:33
Multiply smaller than << and add?
Unexpected result: I replaced (c*3) with (c<<1)+c figuring on saving the code needed to do the multiplier (int_16), and the program grew by 20 bytes. So I went back to the...
Thursday, 31 January 2013 - 15:56
Tiny 10, TPI & ISP Mk II
If you've disabled the reset on an ATTiny 10, is the ISP Mk II clever enough to drive the Reset line to +12 to program the chip?
Monday, 28 January 2013 - 15:04
PWM Motor control -- Measure the current?
So if you're driving a DC motor by pwm, how do you go about measuring the current? Perhaps you sample the voltage across a shunt during the pulse, multiply by the pulse width and...
Tuesday, 15 January 2013 - 01:45
Doomsday did come for my 19-year-old. Help!
Ethan loaned his HP Pavilion laptop computer to a friend, who spilled root beer into the keyboard. Ethan says it's still working, but the keys stick down. Suggestions? I don't...
Saturday, 22 December 2012 - 02:39

Pages