473,397 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

PIC 16F84A communicates with Hyperterminal

Can anyone tell me what are the codes in C Programming that represent [ENTER], [SPACE],[CTRL+Z] on computer keypad?

I wrote a segment of program in PWC:

if
(input(PIN_A0))

{
output_high(PIN_B0);
printf("Connected,%x,A1");
printf("Serial Communication Is Effective,%x,0D");
}
else
{output_low(PIN_B0);
}

But as I compile there is error in the printf statements...

I've tried this too

(input(PIN_A0))

{
output_high(PIN_B0);
printf("Connected\r");
printf("Serial Communication Is Effective"^z);
}
else
{output_low(PIN_B0);
}
But it failed too...

Did i get the code wrong or it's the format ?
Oct 11 '08 #1
1 2741
Banfa
9,065 Expert Mod 8TB
Perhaps you should read up about printf
Oct 14 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Gerry Sutton | last post by:
Is it possible to automate and script the windows Hyperterminal utility with Python?
1
by: VB Programmer | last post by:
I want to create a custom console application that is similar to HyperTerminal. Given an ip/port it will connect via TCP and allow the users to type commands to a certain piece of hardware...
1
by: Cc | last post by:
hi, i would like to call hyperterminal function from vb.net, how do i do that? for example I using hyperterminal to transfer file between pc through modem, so now i would like to controll it in...
2
by: Dzemal Tipura | last post by:
I need control that work like HyperTerminal made in vb 2003 or 2005 is there anything like that? thx
1
by: dinh1410 | last post by:
I've read many material and all your direction in this forum, but I still can't capture the caller id. I use SmartLink 56TS V.90 & X2, and my phone line is caller id enabled (when people call me,...
7
by: C a r l o s A n t o n i o | last post by:
Hello, I have to submit a file via HyperTerminal using my PC's internal modem on a daily basis. Does anybodoy know how to accomplish this in VS2005? Any language is good, VB preferred. ...
0
by: max232 | last post by:
Guys, I'm trying to send some stuff to a remote device via RS232. Before coding it I want to test the string is sent and received OK via Hyperterminal. The string is T or 16 54 0D in hex. But how...
1
by: rylan365 | last post by:
hi Ppl, I'm doing a project wherein i got to run a c program to read a text string from a cell phone.the cell phone is connected via data cable and my c program has to read an incoming message...
3
by: calvinLYP | last post by:
Is it possible to write a program to invoke the hyper terminal? In the sense the program will allow user to enter phone number(maybe plus some others parameters like data bits,baud rate) before it...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.