GithubHelp home page GithubHelp logo

latifembedded / pic-numerical-converte Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 793 KB

Implementing a base converter using a PIC18F452 microcontroller

C 100.00%
c18-compiler converter-decimal-numbers microchip-pic pic18f452 pic18f

pic-numerical-converte's Introduction

Decimal to Hexadecimal, Binary, and Octal Converter

This project is designed to convert decimal numbers in the range of 0 to 512 to their corresponding hexadecimal, binary, and octal representations. The choice of conversion is selected using a potentiometer, and the number is entered via a keypad. The results are displayed on an LCD.

Operation Instructions

Use the potentiometer to select the conversion type: Position 0: Decimal to Hexadecimal Position 1: Decimal to Binary Position 2: Decimal to Octal Press the button connected to INT0 to confirm the selection.

  • Enter Number: Use the keypad to enter a decimal number between 0 and 512. If an error is made, press the # key to clear the input. Press the button connected to INT0 again to confirm the number.

  • View Result: The converted result will be displayed on the LCD. To start a new calculation, press the * key on the keypad.

  • Error Handling : If the entered number exceeds the range of 0 to 512, an error message will be displayed, and the user can re-enter the number.

pic-numerical-converte's People

Contributors

latifembedded avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.