??? 06/07/06 20:03 Read: times |
#117978 - My settings from the 80's Responding to: ???'s previous message |
My first MIDI project in the 80's was a converting a set of organ bass pedals to MIDI for a client. Here are my settings for a vanilla 8051 with a 12MHz crystal):
MOV TMOD,#$20 ;DISABLE GATE ;TIMER MODE ;TIMER 1, MODE 2 MOV TL1,#$FF ;RELOAD VALUE=255 MOV TH1,#$FF MOV TCON,#$50 ;BOTH TIMERS RUNNING MOV SCON,#$70 ;MODE 1, 8 BIT UART It was tx-only. I can try and find some other project code, but it might take a while. GB |