0 Members and 1 Guest are viewing this topic.
.TEST0->VRepeat Getkey(15)DAC(VIf V++ =160->VEndEnd0->portReturnLbl DAC2->Port //Sends the first two bits indicating the end of a word3->Port1->Port3->PortFor (4) //Sends the 4 bit word to the DACIf r1^2 //Part of the dec->bin conversion2->PortElse1->PortEnd3->Portr1/2->r1 //Part of the dec->bin conversionEnd
How about multiplexing it with an ADC as well? I'm not really sure if you want to do that, but it would be nice to have a standardized analog I/O circuit to play with: microphones, light sensors, etc.