Jump to content
Fórum Script Brasil
  • 0




Olá pessoal,

Preciso escrever um programa/loop no DEV C++ para mostrar de 0 a 99 em um display de 2 dígitos. Por gentileza corrija abaixo, ou monte um correto para mim... desde já agradeço. Caso alguém fizer esta bondade encaminhe no meu e-mail: crisnog9@hotmil.com

#include <at89s8252.h>

void acende (int valor2, int valor1)


int valores[10] = {125,80,79,87,114,55,63,81,127,119};

P2 = valores[valor2];

P1 = valores [valor1];


void main()


int unidade,dezena;

for (dezena = 0 ; dezena <= 9; dezena ++)


for (unidade = 0 ; unidade <= 9; unidade ++)







Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...