![]() |
Forum Index : Microcontroller and PC projects : Pins reserved
Author | Message | ||||
Herry![]() Senior Member ![]() Joined: 31/05/2014 Location: AustraliaPosts: 261 |
Odd problem I am using the 28 pin MM with 4.6. I am trying to get a program to work that uses 8 digital inputs (switches) and four digital outputs. Although they are apparently available, at the DIN lines pins 2 and 5 give the error 'Pins reserved at startup'. How can I resolve this? the pins appear in the pinout diagram to be available for digital use. Those DIN lines are near the start of my program. The program does not use those pins for anything else. Senior?! Whatever it says, I'm a complete and utter beginner... |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1982 |
I think that happened to me once and found it was that I had previously used a TFT with the chip and had not disabled it. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
Herry![]() Senior Member ![]() Joined: 31/05/2014 Location: AustraliaPosts: 261 |
Exactly how do I clear out anything like that? Senior?! Whatever it says, I'm a complete and utter beginner... |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 767 |
Humm... I was looking at v4.6 B26 PDF manual and I don't see any support for TFT displays. There is the character LCD units supported... Maybe a good time to update to the latest firmware, if possible... If so, you could just type: option list at the command prompt.. I didn't see any Library functions either... What does the printout say when you enter: Memory at the command prompt..? Typing: NEW should clear everything... (i think) ![]() |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6269 |
I do remember some issues with PINs showing as reserved but I forget which versions of MMBasic were involved. From the V4.6 manual: Method 2 is worth a try but flashing the latest version of MMBasic is a good idea. Jim VK7JH MMedit |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3282 |
As far as I remember there was no error saying "Pins reserved at startup" in V4.6. Geoff Geoff Graham - http://geoffg.net |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |