[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some forward movement on Virtual Serial Host
On Sunday, January 6, 2013 6:33:46 PM UTC-6, fx wrote:
> On Sunday, January 6, 2013 1:58:45 PM UTC-5, Kevin wrote:
>
> > On Sunday, January 6, 2013 11:13:03 AM UTC-6, Riccardo wrote:
>
> >
>
> > > Whiteout forgetting ADTPro date/time getting function. About it, you could put an date/time IC in your PCB to interfacing with AVR ;)
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > Riccardo.
>
> >
>
> >
>
> >
>
> > I have a rtc (realtime clock) the problem with it is all the cheap ones are i2c interface, which is a pig of a io and is using too much ram atm.
>
>
>
> Hey, this is a very cool project! I will have to try this out.
>
>
>
> Regarding the RTC, the ATMega328 does have a hardware i2c interface. You don't need to waste a lot of time waiting IO. Your code can do other stuff while you're waiting for the i2c slave to respond.
yea I know, its not a matter of time, its a matter of memory, after I start up a sd card, fat file system, buffers and all that goes with it I have about 600 bytes of ram free.
starting up a generic i2c library blows that up, so I either need to go in and trim out all the fat, or use a non i2c clock, which for whatever reason knocks up the price (from 1 to 3$)
course a goal of making these things in some quantity is to keep the cost as low as possible