From: Christopher C. <chr...@gm...> - 2010-02-07 22:50:48
|
I am writing some major re-writes to the Maxuino project with Ali Momeni, and we have come across a bug perhaps. When more than one digital pin is pressed at the same time on the same port, and one is then released, no signal is sent by the arduino until both go back to low. and if one stays on and a pin in another port goes on and off the off signal has a nearly half second lag. this is with the arduino 18 ide verson of firmata with a decimilia 328. Can anyone confirm? chris On Wed, Feb 3, 2010 at 7:38 AM, Paul Stoffregen <pa...@pj...> wrote: > Thanks! Definitely testing is needed. Hopefully there will be plenty > of time to get it well tested before Arduino 0019 or 1.0. > > Other than documentation, I believe the hardware abstraction branch > should be pretty close to its final form. > > I do have a question on writing to digital pins. Should the pins be > "writable" if they're in input mode? Writing turns the pullup resistor > on and off. Currently in the digitalWriteCallback: > > if (pinConfig[pin] == OUTPUT || pinConfig[pin] == INPUT) { > pinWriteMask |= mask; > } > > Then pinWriteMask is used to only change the "writable" pins on that > port. Should input pullup resistors be controlled this way? It's very > AVR specific. Would a separate pin mode for input pullup make more > sense, and disallow writing when configured for input mode? > > > -Paul > > > > > Shigeru Kobayashi wrote: > > Hi Paul, > > > > First of all, thank you very much for your really interesting > > suggestions. I'm sorry I have been silent regarding this issue. I have > > been up to my ears in urgent projects, but I just checked out the > > branch. I'll test with a Duemilanove and a Teensy board and report > > here if I find anything ASAP. > > > > Best, > > Shigeru > > > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Firmata-devel mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firmata-devel > |