Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:08 07 Jul 2025 Privacy Policy
Jump to

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 : How to... with MM

Author Message
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 11:29pm 24 Jun 2016
Copy link to clipboard 
Print this post

... undefine a pin?
Imagine this setup - 64-pin MM+ with a switch connected to ground on pin 51.
According to the Manual, pin 51 is the WAKE pin so it should bring the MM back to active after CPU SLEEP. But how to use the switch to go to sleep? If I set it up as DIN, then CPU SLEEP generates an error "pin 51 is in use"...

http://rittle.org

--------------
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10215
Posted: 11:37pm 24 Jun 2016
Copy link to clipboard 
Print this post

  Quote  ... undefine a pin?


SETPIN pn OFF
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 12:36am 25 Jun 2016
Copy link to clipboard 
Print this post

  matherp said  
  Quote  ... undefine a pin?


SETPIN pn OFF


Cool! I will try it now.
Thanks
http://rittle.org

--------------
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 11:51pm 02 Jul 2016
Copy link to clipboard 
Print this post

How to make a font with transparent background?

http://rittle.org

--------------
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10215
Posted: 01:09am 03 Jul 2016
Copy link to clipboard 
Print this post

My driver for the R61505V does this - just use 1 as the background colour. I've also written drivers for the SSD1963 which do this - same approach. It can't be done with the standard drivers as it relies on reading the background colour. Otherwise you would have to cursor position for each pixel in the font
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 01:32am 03 Jul 2016
Copy link to clipboard 
Print this post

Fortunately, in this case I am using exactly your R61505V driver, so that's excellent news. Thank you!
http://rittle.org

--------------
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025