Hi everyone
I would like to know how I can change the settings SerialPort to use 9-bit frames .... Can i use asm code?
thanks,
Native code
Started by juancbr, Apr 11 2012 03:11 PM
3 replies to this topic
#1
Posted 11 April 2012 - 03:11 PM
#2
Posted 12 April 2012 - 06:38 AM
Hi,
is the System.IO.Ports.SerialPort.DataBits property not suited for you?
Is native code really needed?
#3
Posted 12 April 2012 - 08:05 AM
Hi,
is the System.IO.Ports.SerialPort.DataBits property not suited for you?
Is native code really needed?
hello awaiK,
thanks for replying, when I change the property SerialPort.DataBits to 9, I have a runtime error, it only works with 6.7 and 8 bits.
I really do not know how to solve this problem! I think the native code is a solution, but if there is another way, it would be better.
#4
Posted 13 April 2012 - 06:59 AM
help ..
trying to solve my problem, I update my netduino to Firmware_Netduino_4.2.0.0_RC4
DeviceInfo:
HAL build info: 4.2.0.0, Netduino (v4.2.0.0 RC4) by Secret Labs LLC
OEM Product codes (vendor, model, SKU): 34, 177, 4096
Serial Numbers (module, system):
00000000000000000000000000000000
0000000000000000
Solution Build Info: 4.2.0.0, Netduino (v4.2.0.0 RC4) by Secret Labs LLC
AppDomains:
default, id = 1
Assemblies:
mscorlib, 4.2.0.0
Microsoft.SPOT.Native, 4.2.0.0
Microsoft.SPOT.Hardware, 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.PWM, 4.2.0.0
Microsoft.SPOT.Hardware.Usb, 4.2.0.0
SecretLabs.NETMF.Hardware, 4.2.0.0
SecretLabs.NETMF.Diagnostics, 4.2.0.0
SecretLabs.NETMF.IO, 4.2.0.0
and install. Net Framework 4.2 like
http://forums.netdui...-netduino-plus/
but now I can not run any project
please help me .....
1.PNG 67.22KB
22 downloads
2.PNG 86.14KB
20 downloads
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users