- Netduino Forums
- → bill.french's Content
bill.french's Content
There have been 260 items by bill.french (Search limited from 05-July 23)
#4562 2D Motion Capture, early results
Posted by bill.french on 07 November 2010 - 04:52 AM in Project Showcase
#4565 2D Motion Capture, early results
Posted by bill.french on 07 November 2010 - 05:37 AM in Project Showcase
Thinking about it (the project) some more, the datasheet says 5us is "typical"... (and since you say you got the pwm call wrong anyway) which makes me wonder if you could have gotten away with something like:
out1.Write(true);
out1.Write(false);
which, according to here, gets you a 60us pulse.
... I also wonder if you had gpio pins to spare, you could you one pin in output mode to fire the pulse, then another pin in input mode (both tied to the sig pin on the ping thing) to read the returning pulse, then you wouldn't have to worry about .Dispose()'s timing.
#8312 RS485 between two Netduinos
Posted by bill.french on 24 January 2011 - 06:37 PM in Netduino Plus 2 (and Netduino Plus 1)
#8314 RS485 between two Netduinos
Posted by bill.french on 24 January 2011 - 06:41 PM in Netduino Plus 2 (and Netduino Plus 1)
while(true) { while (_COMPORT.BytesToRead > 0) { byte[] buffer = new byte[1]; _COMPORT.Read(buffer, 0, 1); Debug.Print(buffer[0].ToString()); } }
#6498 Netduino Firmware v4.1.0 (update 6) BETA 1
Posted by bill.french on 24 December 2010 - 08:28 PM in Beta Firmware and Drivers
I can't tell you how excited I am.
For the love of God, man, don't reply to me! Get back to work!
#6496 Netduino Firmware v4.1.0 (update 6) BETA 1
Posted by bill.french on 24 December 2010 - 07:12 PM in Beta Firmware and Drivers
to release v1.0 of my Fluent Interop stuff by the end of this weekend.
I was wondering what you've been up to!
#6476 Solid Graphic LCD
Posted by bill.french on 24 December 2010 - 04:33 PM in Netduino 2 (and Netduino 1)
So let me get this straight. This thing is a color LCD with built in controller, backlight circuitry, microSD socket which is compatible with both low capacity and high capacity cards, AND! it basically has a user programmable microcontroller with 10k of program space and 2 GPIO lines in addition to all the on-board control lines for interfacing with the LCD?
#7417 Solid Graphic LCD
Posted by bill.french on 10 January 2011 - 03:19 PM in Netduino 2 (and Netduino 1)
Certainly you can change the configuration from SGC to GFX and vice versa. See the links below with individual configurations,
Also, another screen to consider if anyone stumbles across this thread:
http://www.dfrobot.c...&product_id=135
#7865 IR Transmitter?
Posted by bill.french on 18 January 2011 - 06:51 PM in General Discussion
#7866 IR Transmitter?
Posted by bill.french on 18 January 2011 - 06:54 PM in General Discussion
#8018 Replace analog pot with Netduino using PWM
Posted by bill.french on 20 January 2011 - 07:11 PM in Netduino 2 (and Netduino 1)
#8085 Replace analog pot with Netduino using PWM
Posted by bill.french on 22 January 2011 - 02:25 AM in Netduino 2 (and Netduino 1)
#6813 SerialPort Class not in System.IO.Ports
Posted by bill.french on 02 January 2011 - 04:15 AM in General Discussion
#6787 SerialPort Class not in System.IO.Ports
Posted by bill.french on 01 January 2011 - 04:26 PM in General Discussion
#6822 SerialPort Class not in System.IO.Ports
Posted by bill.french on 02 January 2011 - 05:55 AM in General Discussion
#7337 Problem with Analog Input
Posted by bill.french on 09 January 2011 - 01:46 PM in Netduino Plus 2 (and Netduino Plus 1)
#4901 Speed and turning control with Ardumoto - Motor Driver Shield
Posted by bill.french on 14 November 2010 - 12:41 PM in General Discussion
#4892 Speed and turning control with Ardumoto - Motor Driver Shield
Posted by bill.french on 14 November 2010 - 12:07 AM in General Discussion
#4904 Speed and turning control with Ardumoto - Motor Driver Shield
Posted by bill.french on 14 November 2010 - 02:31 PM in General Discussion
#7992 "Universal" LCD Shield
Posted by bill.french on 20 January 2011 - 01:54 PM in Project Showcase
#7964 "Universal" LCD Shield
Posted by bill.french on 20 January 2011 - 03:40 AM in Project Showcase
http://www.sparkfun.com/products/10168 (monochrome, about $10)
...and...
http://www.sparkfun.com/products/10090 (color, about $32)
It also includes a 5 way tactile switch:
http://www.sparkfun.com/products/10063
Attached is the etch pdf from Fritzing if anyone cares to make one themselves.
Here's some pics:
1. With the color screen, running a simple drawing program I made up using the joystick:
2. With the B&W screen:
3. The shield with no screens:
4. The copper side, my technique has really improved:
Attached Files
- LCD-Sheild-1_etch.pdf 7.97KB 22 downloads
#5403 Anyone have a Windows Phone already?
Posted by bill.french on 27 November 2010 - 02:09 PM in General Discussion
#7453 Use of Static Keyword
Posted by bill.french on 11 January 2011 - 02:07 PM in General Discussion
#7461 Use of Static Keyword
Posted by bill.french on 11 January 2011 - 04:03 PM in General Discussion
#7411 Use of Static Keyword
Posted by bill.french on 10 January 2011 - 12:59 PM in General Discussion
Ever since the beginning of time ... or at least since version 0.9 of .NET, all Microsoft Templates has started out GUI projects with creating an "instance" of your main class.
...
The statement about "static" functions beeing stateless and without side effects, is a general rule of proper coding style.
I understand what static is. I'm looking more for literature that supports what sounds a lot like your opinion. Based on what you say, if I have a function that I want only ever want one instance of, unless it's a helper function or without side effects, I should not make it static -- that doesn't quite sit well with my gut, but I really don't know.
Concerning your gui / java example, I (think I) know the templates were that way because they *had* to be, since main has to be static (there can be only one) and you can't call non-static functions or whatever.
"rules of proper coding style" -- where are these rules? I've used static classes to specifically deal with certain state issues.
As I'm writing this, it seems combative, but I really want to understand.
- Netduino Forums
- → bill.french's Content
- Privacy Policy