alvieboy Posted January 12, 2012 Report Share Posted January 12, 2012 You think this approach below somehow might make things easier for programmers ? #include <Papilio.h> Papilio::ADC8_Wing myadc; void setup() { Serial.begin(115200); myadc.begin( Papilio::Wing_A_Low ); } uint16_t sample() { return myadc.sample(0); // Channel 0 } Idea is to have all GF Wings (and other contributed wings) easier to attach in software. Álvaro Link to comment Share on other sites More sharing options...
Jack Gassett Posted January 12, 2012 Report Share Posted January 12, 2012 I think this would be really great to do, we can already move pins in the AVR8 and the ZPUino but to make them into objects where you can define the pins and then use the objects method's and properties would be really nice! One key thing for this would be the documentation, I've started a series of Introductory topics to document and the one for this week is supposed to be how to move pins in a sketch. I was also planning to do an Intro article for each of the existing Wings, might be a good idea to try and define objects, intro article, and reference documentation for each Wing. I was going to do a new weekly topic, maybe we can work together and do a bi-weekly expanded effort where it is not just an intro article but all of the above? Jack. Link to comment Share on other sites More sharing options...
alvieboy Posted January 12, 2012 Author Report Share Posted January 12, 2012 Sure. I'll sync with you tomorrow on Skype, if you wave the time. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.