Go to Post In my opinion, watching someone CAD is about as exciting as watching them sleep. - DampRobot [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 12-03-2007, 00:29
Jake M Jake M is offline
void* Jake;
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Missouri
Posts: 118
Jake M has a spectacular aura aboutJake M has a spectacular aura about
Interesting thought....

Not that I actually intend to try this, if it is possible, except perhaps for educational purposes, but would it be theoretically possible to generate your own serial communation/TTL port, through a Digital IO. Setup a timer and interrupt to get the right baud rate, and just set a digital output to either 0 or 1 at each interrupt, so it would operate like a TX signal. TTL uses the 0V to 5V logic, correct? If the signal pin doesn't provide enough voltage, maybe just let it trigger a transistor, which is connected to 5V.

Mostly, I'm asking this to confirm my understanding of how serial communication actually works, and I'm guessing I'm still a little bit off. It seems a tad too simple, the way I explained it. And if I am understanding things correctly, my next guess is that the interrupts will be triggering too often, slowing down the rest of the code. Am I on track at all?
__________________
Code:
void function(void)
 {
  function();
 }
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interesting thought Lisa Perez Chit-Chat 3 05-07-2004 23:38
Random Thought... Marygrace Chit-Chat 12 14-05-2003 15:50
Random Thought Ricky Q. Chit-Chat 32 25-10-2002 13:26
A New Thought... Nate Smith General Forum 5 28-09-2001 01:16
Thought on Qualification Matt Leese General Forum 0 24-09-2001 23:20


All times are GMT -5. The time now is 00:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi