Post Created date
attiny261/461/861 manual confused about SPI & USI
Just the USI, which can do SPI protocol amongst others. Section 17.5.5, Page 137 • Bit 0 – USIPOS: USI Pin Position Setting this bit to one changes the USI pin position. As...
Tuesday, 17 April 2007 - 23:27
USB uding FTDI245BM
Sorry about the missing definitions. Here's the whole hardware.h - all you need plus the kitchen sink. You can see from this how I share the data 'bus' port with the LCD and push...
Tuesday, 17 April 2007 - 22:40
IrDA protocol Stack
Tut Tut, lazy! ;-) How hard is - Anyway, General protocol info - Some free AVR IRDA source - http://...
Tuesday, 17 April 2007 - 07:25
USB uding FTDI245BM
I'm not sure you get what I mean. Peter Fleurys code is for a bootloader program that goes in the AVR and uses the comm's port. My changes use a '245 so you can talk to the...
Tuesday, 17 April 2007 - 07:00
USB uding FTDI245BM
Forgot to mention, I moved the Send Checksum calculation into sendchar() so that it wasn't repeated lots of times in the main code. Optional as to whether you want to mess with...
Tuesday, 17 April 2007 - 04:05
USB uding FTDI245BM
Hi, I started with Peter Fleurys STK500v2 bootloader - Then I added my own 245 Send and Receive code which may be more than you need as I also...
Tuesday, 17 April 2007 - 03:57
Strange ADC problem in tiny861
I'm happy to have helped. I love deadlines, especially the "Whoosh" noise as they fly past ;-) I'm doing an LPC2136 ARM7-based job at the momemnt, as a contractor. Multiple A>D,...
Tuesday, 17 April 2007 - 02:05
Strange ADC problem in tiny861
Incidentally, the 10-bit ADC result can be right-justified as you have it, or left justified. When left justified, bipolar readings can be treated as signed int16 directly, just...
Tuesday, 17 April 2007 - 00:35
Strange ADC problem in tiny861
Well if you prefer to state it as subtract 1 and invert, then "-(ADC-1)" is subtracting 2 and inverting. That's right, call it 'my' method in case it doesn't work! ;-)
Tuesday, 17 April 2007 - 00:23
Strange ADC problem in tiny861
Here's your problem, you said inverse by which you mean bit inversion or 'not' ('~'). But changing the sign of a number is multiplying by -1 or forming the two's complement, which...
Tuesday, 17 April 2007 - 00:01
help needed for driving triac in a dimmer project
Hi, To be less subtle, there are no pull down resistors in the ATMega32, you CANNOT use switches to VCC. You should never apply -ve voltage to the micro inputs, and anyway why...
Monday, 16 April 2007 - 23:40
Strange ADC problem in tiny861
The Shoot-Through issue is one fet not having turned off when the other turns on, hence large power-supply drain for an instant, different to breakdown issues. Your code for the -...
Monday, 16 April 2007 - 22:52