Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Read time (and date) from PC

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
drejansen

Bascom Member



Joined: 10 Jun 2006
Posts: 26
Location: Hoeksche Waard

netherlands.gif
PostPosted: Sat Jan 17, 2015 12:31 pm    Post subject: Read time (and date) from PC Reply with quote

Dear forum,

Is it possible to read the time from the connected computer?
If yes, how do I do this?
I use version 2077 and atmega M328p at 16 MHz
The connection with the PC is trough USB cable.

Thanks in advance!


(BASCOM-AVR version : 2.0.7.7 , Latest : 2.0.7.8 )

_________________
Pluk het moment!
een hele dag lukt toch niet.
 
Groeten, Dré Jansen
 
 
Back to top
View user's profile
MWS

Bascom Member



Joined: 22 Aug 2009
Posts: 2262

blank.gif
PostPosted: Sat Jan 17, 2015 3:14 pm    Post subject: Reply with quote

You have to write a PC software, which repeatedly or on request sends date and time via the virtual serial com, which was installed for the ATM328.
The ATM328 receives the data stream via serial com and does whatever desired.
Back to top
View user's profile
drejansen

Bascom Member



Joined: 10 Jun 2006
Posts: 26
Location: Hoeksche Waard

netherlands.gif
PostPosted: Sat Jan 17, 2015 3:44 pm    Post subject: Read time (and date) from PC Reply with quote

dear MWS,

thanks!!
I hope that I can manage it,
it is more difficult than I thought

greetings, Dré

_________________
Pluk het moment!
een hele dag lukt toch niet.
 
Groeten, Dré Jansen
 
 
Back to top
View user's profile
Plons

Bascom Member



Joined: 24 May 2005
Posts: 435
Location: Hilversum - The Netherlands

netherlands.gif
PostPosted: Sat Jan 17, 2015 3:49 pm    Post subject: Reply with quote

Br@y terminal may fit the bill: you can write your own script. See the Help of Br@y, snapshot attached.
_________________
Bascom AVR ver 2.0.8.6
Dragon-lair: http://www.aplomb.nl/TechStuff/Dragon/Dragon.html
"leef met vlag en wimpel, maar hou het simpel"
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum