|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: Sunday, February 07, 2010 11:10 PM
Posts: 8,
Visits: 24
|
|
I've got a simple I2C IR sensor and want to implement a sensor class similar to the line follower. However, it's not clear to me how to do this from the documentation. I'd rather inherit from the base classes in the library rather than creating my own simple solution of polling the sensor.
Also, is the .NET library source code available? I can't find it but I thought it was open source. Right now, because my C# isn't that good I'd use it to figure out things like adding new sensors.
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: Friday, April 22, 2011 6:18 PM
Posts: 153,
Visits: 547
|
|
Hello FazLogic,
Its cool you are contributing to the Serializer code.
There is I2c functionality already in the library. Also
take a look in the Serializer C++ Library forum for the sources.
Don Lewis
Don Lewis
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: Monday, October 31, 2011 9:18 PM
Posts: 640,
Visits: 819
|
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: Sunday, February 07, 2010 11:10 PM
Posts: 8,
Visits: 24
|
|
Thanks guys.
Just using the generic I2C class is probably the easiest way to go since there isn't much to the I2C-IT (and therefore, probably not worth implementing it's own class).
I gather I should query all my sensors in the same loop as the one serializer.PumpEvents() is in.
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: Monday, October 31, 2011 9:18 PM
Posts: 640,
Visits: 819
|
|
Nope, Actually, w/ the I2Device, there aren't any event's to wait on, so you're not tied to the PumpEvents() call for that object. You can communicate w/ the device as fast as you desire.Best Regards!
Jason Summerour President, Summerour Robotics Corporation www.roboticsconnection.com
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: Tuesday, October 11, 2011 2:23 AM
Posts: 1,
Visits: 2
|
|
Serializer C++ Library is helpful but does that code work for .NET?
ovulation tests
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: Thursday, October 20, 2011 1:09 AM
Posts: 1,
Visits: 4
|
|
I have a small hierarchy of objects.I need to both serialize the object,then deserialize it based on what type it is.Is there an easy way to do this in C++ (as there is in Java)?
Are there any C++ serialization online code samples or tutorials?
Help will be appreciated..
Trucks for Hire
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: Thursday, November 03, 2011 4:44 AM
Posts: 1,
Visits: 2
|
|
Adding new sensors in PRTG Traffic Grapher is easy.The Add Sensor Wizard will guide through the setup of new sensors for monitoring with PRTG Traffic Grapher.
Managed Hosting
|
|
|
|