Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : (MM-DM) Interesting code
Author | Message | ||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
10 IF PIN(0)=1 THEN PIN(0)=1 ELSE PIN(0)=0 20 GOTO 10 Works on an MM, need to fix it on the DM, as it has a bug. And what does it do? Cheers Don... https://www.dontronics.com |
||||
swoodgate Newbie Joined: 24/11/2011 Location: AustraliaPosts: 14 |
It controls the front panel LED according to the Maximite manual and it seems like it’s meant to blink this LED but I think it should say: 10 IF PIN(0) THEN PIN(0)=0 ELSE PIN(0) = 1 20 GOTO 10 Best regards Steve |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Close, but no cigar Steve. Cheers Don... https://www.dontronics.com |
||||
swoodgate Newbie Joined: 24/11/2011 Location: AustraliaPosts: 14 |
Now I'm going to have to go home and try it! |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Sorry Steve. Cheers Don... https://www.dontronics.com |
||||
rhamer Senior Member Joined: 06/06/2011 Location: AustraliaPosts: 174 |
Causes a rip in the space time continuum...... Rohan Hamer HAMFIELD Software & Hardware Solutions Makers of the Maximite Expander. http://www.hamfield.com.au |
||||
ajkw Senior Member Joined: 29/06/2011 Location: AustraliaPosts: 290 |
Sets the Power LED (on or off) to the state of the Bootload button. |
||||
Bryan1 Guru Joined: 22/02/2006 Location: AustraliaPosts: 1344 |
Just tried on the DM here but sworry can't give the answer away.... Also just did on the SM1 and the answer was too easy...... |
||||
swoodgate Newbie Joined: 24/11/2011 Location: AustraliaPosts: 14 |
That'll teach me to read all the manual before posting a reply. |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Yes, was in the manual. Looks like the streak knives, and the world trip, goes to Anthony. My thanks to Ken Segler for the code snippet. (After a few questions were asked) Cheers Don... https://www.dontronics.com |
||||
marcwolf Senior Member Joined: 08/06/2009 Location: AustraliaPosts: 119 |
Streak knives? Is that some sort of protection against streakers? Take Care Dave Coding Coding Coding.. Keep those keyboards coding.. RAW CODE!!!!! |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
...///... there goes one now. Cheers Don... https://www.dontronics.com |
||||
Print this page |