Chapter 6: C Functions and Program Structures
utomatically
RC += CommDemo.c
pen H
o.
Type in
ello
ype in:
o
ou should receive:
Type in
omma1
Target file name (without extension).
TARGET = PC_Comm
List C source files here. (C dependencies are a
generated.)
SRC = $(TARGET).c
S
Using CommDemo:
Download the code to the Butterfly.
O yperTerminal
Start the program.
In HyperTerminal you should see:
PC_Comm.c ready to communicate.
You are talking to the PC_Comm demo.
Type in:
demo?
You should receive:
You are talking to the PC_Comm dem
:
h
You should receive:
Hello yourself
T
co
Y
You sent: '' - I don't understand.
:
c 23
You should receive:
Thank you for sending the number: 123