- Netduino Forums
- → Novice Alex's Content
Novice Alex's Content
There have been 39 items by Novice Alex (Search limited from 29-April 23)
#32672 Release COM2 (CTS, RTS)
Posted by Novice Alex on 25 July 2012 - 11:47 PM in Netduino Plus 2 (and Netduino Plus 1)
#32617 Release COM2 (CTS, RTS)
Posted by Novice Alex on 24 July 2012 - 01:40 PM in Netduino Plus 2 (and Netduino Plus 1)
#32614 Date.subtract function
Posted by Novice Alex on 24 July 2012 - 01:26 PM in Visual Basic Support
What is the issue with your work around?
Seems like it would do what you want, if you use the code a lot you may benefit from wrapping it as a static method
//C# public static int MinutesDifference(DateTime lastGPSInfo){ return (DateTime.Now.Subtract(lastGPSInfo).Ticks/TimeSpan.TicksPerMinute); } //VB.Net - My VB is very rusty example is from memory so may not work at all ;-) Public Shared Function MinutesDifference(ByVal lastGPSInfo As DateTime) As Int Return (DateTime.Now.Subtract(lastGPSInfo).Ticks/TimeSpan.TicksPerMinute) End Function
Nak.
Hi Guys,
There is nothing wrong with my workaround, except that it needs more code to do as compare to DateDiff method. As you know code size for our little Netduino is precious.
#32608 Date.subtract function
Posted by Novice Alex on 24 July 2012 - 12:38 PM in Visual Basic Support
#32555 VS2010 Crash after declaring Const date
Posted by Novice Alex on 23 July 2012 - 05:18 PM in Visual Basic Support
Hi Stefan,Thanks, I voted for the issue too
They have taken up the issue and fixes is schedule for NETMF 3.0
#32465 VS2010 Crash after declaring Const date
Posted by Novice Alex on 22 July 2012 - 01:51 PM in Visual Basic Support
That's an interesting find!
Could you please make an issue at http://netmf.codeple...item/list/basic ?
I can indeed reproduce this and it should never happen.
Hi Stefan,
good to know that you too is facing the same problem.
As suggested, I have make an issue @ codeplex.
Thanks.
#32448 Netduino Firmware v4.2.0 RC5 (Netduino + Netduino Plus)
Posted by Novice Alex on 22 July 2012 - 03:14 AM in Beta Firmware and Drivers
Hi Novice Alex,
You can safely use the regular Netduino firmware on your Netduino Plus.
To do this you will want to: erase your board by applying 3V3 power to the gold erase pad underneath D0; flash TinyBooter using Atmel SAM-BA; flash the NETMF runtime using MFDeploy.
Full instructions are available on the Wiki.
Once you flash the regular Netduino firmware on your Netduino Plus, you can use the SecretLabs StorageDevice class to ".MountSD" and re-enable SD card access.
Chris
Hi Chris,
Just like to double confirm. I have successfully update the Netduino firmware onto my Neduino+. So when I start a project, do I set it as Netduino/Netduino+ project? Also in my case, do you have any sample code on mounting the SD card.
Also by using Netduino firmware on access SD card, will i be giving up any digital pins access?
Separately, do I need to mount & un-mount the SD card everything I use? Or only for once during system power up?
Thanks in advance.
#32400 VS2010 Crash after declaring Const date
Posted by Novice Alex on 21 July 2012 - 05:05 AM in Visual Basic Support
Anyone try to the following declaration in VB using VS2010.
Public Const INFINITE_DATE As Date = #12/31/9999#
I am using the above declaration for my program to do comparison. But once I declare it, the VS2010(VB) will crash and need to restart.
I have also tried to set the date to today date, example #07/21/2012#, it will still restart the VS.
#32221 Netduino Firmware v4.2.0 RC5 (Netduino + Netduino Plus)
Posted by Novice Alex on 18 July 2012 - 07:43 PM in Beta Firmware and Drivers
Hi Novice Alex,
You can safely use the regular Netduino firmware on your Netduino Plus.
To do this you will want to: erase your board by applying 3V3 power to the gold erase pad underneath D0; flash TinyBooter using Atmel SAM-BA; flash the NETMF runtime using MFDeploy.
Full instructions are available on the Wiki.
Once you flash the regular Netduino firmware on your Netduino Plus, you can use the SecretLabs StorageDevice class to ".MountSD" and re-enable SD card access.
Chris
Hi Chris,
Thanks for your quick response.
I will try and revert if there is any problem.
So after this flashing, I suppose I have 128KB code storage size together with 60KB RAM, right?
#32198 Netduino Firmware v4.2.0 RC5 (Netduino + Netduino Plus)
Posted by Novice Alex on 18 July 2012 - 01:46 PM in Beta Firmware and Drivers
#23851 RC3: CInt("0") fails
Posted by Novice Alex on 06 February 2012 - 02:27 PM in Visual Basic Support
Does Interger.Parse("0") not work ?
Does any try out the above using the 4.2 RC4?
#23850 Convert string to integer
Posted by Novice Alex on 06 February 2012 - 02:24 PM in Visual Basic Support
Hi,
At the first moment, thanks for your time....
I have tryed with
try
Dim a As String = "10"
Dim h As New System.DateTime(1900, 1, 1, CInt(a), CInt(a), 0)
catch e as exception
Debug.print e.message
end try
and i have the next in debug...
Exception was thrown: System.NotImplementedException
I work with
DeviceInfo:
HAL build info: 4.2.0.0, Netduino Plus (v4.2.0.0 RC3) by Secret Labs LLC
OEM Product codes (vendor, model, SKU): 34, 177, 4097
Serial Numbers (module, system):
00000000000000000000000000000000
0000000000000000
Solution Build Info: 4.2.0.0, Netduino Plus (v4.2.0.0 RC3) by Secret Labs LLC
AppDomains:
Assemblies:
mscorlib,4.2.0.0
Microsoft.SPOT.Native,4.2.0.0
Microsoft.SPOT.Hardware,4.2.0.0
Microsoft.SPOT.Net,4.2.0.0
System,4.2.0.0
Microsoft.SPOT.Hardware.SerialPort,4.2.0.0
Microsoft.SPOT.IO,4.2.0.0
System.IO,4.2.0.0
Microsoft.SPOT.Hardware.Usb,4.2.0.0
Microsoft.SPOT.Hardware.PWM,4.2.0.0
SecretLabs.NETMF.Hardware,4.2.0.0
SecretLabs.NETMF.Diagnostics,4.2.0.0
Without SD Card,1.0.0.0
Microsoft.VisualBasic,1.0.0.0
classFecha,1.0.0.0
I have solved this problem with an function in c#, but may be good i can found a better solution.s
thanks in advance.
Just wonder has the 4.2 RC4 solved the VB parse problem.
#21326 ^ Exponent Operator doesn't exists in VB?
Posted by Novice Alex on 04 December 2011 - 11:36 PM in Visual Basic Support
Make a call to Math.Pow( a, b )
Do note that latest version does not work for this function.
#20878 RC3: CInt("0") fails
Posted by Novice Alex on 22 November 2011 - 11:39 PM in Visual Basic Support
Hi Moskus,
Can you please post a bug report on this at netmf.codeplex.com?
There are a number of post-release bugfixes being checked into the .NET MF 4.2 codebase. We're hoping to pull a bunch of them in at once and make a Netduino 4.2 RC4 firmware update...so it would be great to get this one in too.
Chris
Hi Chris,
Any timeline for the RC4 firmware?
Please advise.
Novice Alex
- Netduino Forums
- → Novice Alex's Content
- Privacy Policy