Post Created date
PORTx DDRx settings visa versa
Most microcontroller I/O pins default to being inputs at reset, and are consequently high impedance. There is a good reason for this; it's contention proof, i.e. it avoids damage...
Sunday, 14 December 2003 - 19:38
LANC control for SONY camera
I'd be fairly suprised if the camera did any collision detection as well, but I wouldn't rule it out. The LANC interface _can_ support more than one slave device connected to one...
Friday, 12 December 2003 - 17:29
LANC control for SONY camera
The most important thing you must do is to signal with the DDR bit. It's quite possible that the camera performs some sort or "collision" checking, and if your device is...
Friday, 12 December 2003 - 15:25
LANC control for SONY camera
A couple of microseconds either way probably won't make much difference. It all depends on how the camera samples the bits you send, it may just sample once in the centre of the...
Friday, 12 December 2003 - 13:53
LANC control for SONY camera
Just looked at your schematic, I see you already have a pullup resistor.
Friday, 12 December 2003 - 10:19
LANC control for SONY camera
I've written LANC stuff for years, mostly on (get that garlic out) PICs. Looking at your code, two things spring to mind. Firstly, you'd be better off setting the the PORTD bit...
Friday, 12 December 2003 - 10:05
functions outp and inp
MSTR and SPE are numbers which represent bit positions in the SPCR register. (1<<MSTR) means 1 shifted left MSTR times. So, if MSTR is 2 and SPE is 4 (I've no idea what they...
Thursday, 11 December 2003 - 21:40
.EQU vs .SET
.SET can be overridden by a later .SET At least that's my understanding of it.
Wednesday, 3 December 2003 - 17:40
USART Inverted Data on 128
No, I've only used graphics LCDs in parallel mode, but it all looks quite straightforward.
Sunday, 28 September 2003 - 00:55
USART Inverted Data on 128
Having just looked at the Epson spec, you should be using the SPI module, not the synchronous USART. The USART sends bit 0 first, while the SPI sends bit 7 first. Alternatively,...
Saturday, 27 September 2003 - 15:52
USART Inverted Data on 128
I Think you'll be out of luck with this, most if not all UARTs/USARTs idle high at the logic level outputs. I've never come across any that idle low.
Saturday, 27 September 2003 - 15:44
Problems with io.h
Many thanks for your reply, I think the makefile was incompatible with the latest WinAVR, I downloaded some other example code (avrgcc-examples.zip) which all behave. BTW I did...
Tuesday, 23 September 2003 - 18:19

Pages