Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
QuestionDirectX under C# Pin
Mark T.27-Feb-07 4:28
Mark T.27-Feb-07 4:28 
QuestionApplication config Pin
mail57235227-Feb-07 4:02
mail57235227-Feb-07 4:02 
AnswerRe: Application config Pin
Not Active27-Feb-07 5:16
mentorNot Active27-Feb-07 5:16 
GeneralClass Names Pin
Brady Kelly27-Feb-07 3:38
Brady Kelly27-Feb-07 3:38 
GeneralRe: Class Names Pin
Stefan Troschuetz27-Feb-07 3:49
Stefan Troschuetz27-Feb-07 3:49 
AnswerRe: Class Names Pin
Guffa27-Feb-07 4:01
Guffa27-Feb-07 4:01 
GeneralRe: Class Names Pin
Brady Kelly27-Feb-07 4:12
Brady Kelly27-Feb-07 4:12 
QuestionRS232 Com Port Control Pin
Billy Whizz27-Feb-07 3:33
Billy Whizz27-Feb-07 3:33 
Hi All

I have an application which requires me to use the PC com port to communicate with a PIC (16f877) micro-controller. I am planning to use the PC to fill a serial EEPROM with data which constitutes a digitized waveform of 100 samples. In other words the program on the PC needs to take in a text file which holds the values for 100 samples (in hex string/decimal string?) and transmit them on command to the PIC. The pic then takes the data and fills each address in the attached serial EEPROM with a sample value. So for instance, each sample can be between 0x00 and 0xFF (0 to 255) and I need to transmit it as a single byte so the PIC can deal with it.

In the past I have used outportb quite successfully. However, I am now using C# in Visual Studio 2005 and I was wondering if anyone has any suggestions how I can do the same/equivalent? I am having some trouble converting from a string to a byte... What I mean by this is that if the string is 255, I can only convert to a byte array which gives me a byte for 2, then 5 then 5..... What I really want is the byte equivalent to 255 (ie 1111 1111)... I hope this makes sense...

Any help would be gratefully appreciated.

Jamie

Smile | :)
AnswerRe: RS232 Com Port Control Pin
Stefan Troschuetz27-Feb-07 4:36
Stefan Troschuetz27-Feb-07 4:36 
GeneralRe: RS232 Com Port Control Pin
Billy Whizz27-Feb-07 20:37
Billy Whizz27-Feb-07 20:37 
GeneralRe: RS232 Com Port Control Pin
Luc Pattyn28-Feb-07 3:32
sitebuilderLuc Pattyn28-Feb-07 3:32 
QuestionGetting Child nodes count of an element Pin
madhusri27-Feb-07 3:31
madhusri27-Feb-07 3:31 
AnswerRe: Getting Child nodes count of an element Pin
Ennis Ray Lynch, Jr.27-Feb-07 3:46
Ennis Ray Lynch, Jr.27-Feb-07 3:46 
Questionaccesing form control values in class Pin
balakpn27-Feb-07 3:22
balakpn27-Feb-07 3:22 
QuestionC# CLR Problems... Pin
Illegal Operation27-Feb-07 3:04
Illegal Operation27-Feb-07 3:04 
AnswerRe: C# CLR Problems... Pin
kubben27-Feb-07 3:11
kubben27-Feb-07 3:11 
AnswerRe: C# CLR Problems... Pin
Guffa27-Feb-07 3:12
Guffa27-Feb-07 3:12 
Questionmoving ellipse Pin
t_nedelchev27-Feb-07 2:54
t_nedelchev27-Feb-07 2:54 
AnswerRe: moving ellipse Pin
Luc Pattyn28-Feb-07 3:36
sitebuilderLuc Pattyn28-Feb-07 3:36 
GeneralRe: moving ellipse Pin
t_nedelchev28-Feb-07 21:07
t_nedelchev28-Feb-07 21:07 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 0:52
sitebuilderLuc Pattyn1-Mar-07 0:52 
GeneralRe: moving ellipse Pin
t_nedelchev1-Mar-07 2:41
t_nedelchev1-Mar-07 2:41 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 7:18
sitebuilderLuc Pattyn1-Mar-07 7:18 
GeneralRe: moving ellipse Pin
t_nedelchev1-Mar-07 7:35
t_nedelchev1-Mar-07 7:35 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 7:52
sitebuilderLuc Pattyn1-Mar-07 7:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.