C# :)

jmumby

Senior Member
Hello,

I have done a thread search and found nothing with regards to C#. Although C# is a bit short for the search so my apologies if I am recovering old ground.

I have tried few languages to try and "talk" to my picaxe(s) (other than hyperterm) and it's early days but C# is probably the friendliest so far. Before you try and download the .net version try this one http://www.icsharpcode.net/OpenSource/SD/ it is free and much much smaller. It needs .net 3.5 with SP1. Once you have done this try the RS232 example here http://www.codeproject.com/KB/system/rs232ThreadSafe.aspx. You should download the sample and load it in the IDE.

I have just worked on this guys example to create a project for my colour sensor http://www.picaxeforum.co.uk/showthread.php?t=10415&highlight=avago to calibrate the tool. All it does is send a 1 or 2 to the picaxe and it runs the routine to match.



I fought with c++ and VB and I just can't make head nor tail of either but C# seems to make a lot more sense (from my PHP background I guess). Only down side I guess is the programs will be lashed to Windows but the same is true for VB.

Hope this helps someone fighting a similar battle.
 

Attachments

hippy

Ex-Staff (retired)
I had problems with SharpDevelop when I tried it a year or two ago but guess development of it has moved on. Thanks for letting us know it does work and providing an example program. I'll give that a try at some time.

Microsoft's C# Express Edition is also available as a free download.
 

MORA99

Senior Member
mono can run some .net stuff on linux, dont know if serial ports are working though.

.net is pretty neat, even if its from the evil redmond firm.
With asp.net and a "low level" interface class you could make a website that interacts with picaxe,without using any ugly code in the asp.net part(which can be coded in c# too).
 
Top