EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / 16F628A UART

16F628A UART

|

Microcontroller › PIC › 16F628A UART

  • This topic has 0 replies, 1 voice, and was last updated 10 years, 2 months ago by mario.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • August 30, 2015 at 4:39 pm #3942
    mario
    Participant

    Hello and thank you for all help can i receive.

    Im a newbie for pic and i trying to communicate with uart of 16f628A.

     

    Place the code:

    #include <main.h>
    #include <string.h>
    #include <stdlib.h>
    void main()
    {
    char origine [48];
    while(TRUE)
       {
       delay_ms(DELAY);
       printf("hello whats your name?nr"); // send alive message   }
       //delay_ms(DELAY);
          //  i want to save answer data in to char origine
          }     

    With putc(getc()) i get only one char , how can i take entire string and save her into variable??

    I searched around the net but i cant find solution.

    Are welcome any kind of info.

     

    Thank you very much.

     

  • Author
    Posts
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Panasonic RQ-A170 Walkman recorder November 16, 2025
  • Looking for obsolete item from Parallax November 16, 2025
  • Can a small solar panel safely trickle-charge old NiMH AA batteries? November 16, 2025
  • TraxMaker Pro? I only have the non-Pro version. Looking for the Pro version that has the integrated pick and place coordinates export. November 16, 2025
  • ESP32-S3 started outputting NMEA GPS location frames after EMC disturbance — what mode is this? November 15, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise