PYPORTAL: pindefs incorrect#1540
Merged
Merged
Conversation
@jerryneedell suggested the pins could be wrong when I told him I was getting reading that didn't change, having corrected the pinout to match the schematic I was given it now works! used: ``` ts = adafruit_touchscreen.Touchscreen(board.TOUCH_XL, board.TOUCH_XR, board.TOUCH_YD, board.TOUCH_YU, calibration=((5200, 59000), (5800, 57000)), size=(320, 240)) while True: p = ts.touch_point if p: time.sleep(.5) print(p) ```
Member
|
@TG-Techie you have an old firmware, use this for now |
Author
|
I think I PRed such, should I have asked first? thank you!
…On Tue, Feb 12, 2019 at 11:03 PM ladyada ***@***.***> wrote:
@TG-Techie <https://github.com/TG-Techie> you have an old firmware, use
this for now
self.ts = adafruit_touchscreen.Touchscreen(microcontroller.pin.PB01,
microcontroller.pin.PB08,
microcontroller.pin.PA06, microcontroller.pin.PB00,
calibration=((5200, 59000), (5800, 57000)),
size=(320, 240))
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1540 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AldwjBOSTUcrcKxxI9mqAo_magtlvvgEks5vM450gaJpZM4a4hH1>
.
|
Member
|
all good - im just letting u know how to fix asap :) |
Author
|
😁
…On Tue, Feb 12, 2019 at 11:08 PM ladyada ***@***.***> wrote:
all good - im just letting u know how to fix asap :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1540 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AldwjKJQ8cIcRIq6sAjuy0v9roWJU6nbks5vM4-5gaJpZM4a4hH1>
.
|
Author
|
Best of luck tonight, sleep well too
…On Tue, Feb 12, 2019 at 11:08 PM TG-Techie ***@***.***> wrote:
😁
On Tue, Feb 12, 2019 at 11:08 PM ladyada ***@***.***> wrote:
> all good - im just letting u know how to fix asap :)
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1540 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AldwjKJQ8cIcRIq6sAjuy0v9roWJU6nbks5vM4-5gaJpZM4a4hH1>
> .
>
|
Author
|
I'm trying to get it working with spi I switched the mode jumper to 3v3
and tried the TFT_RS to SCK jumper in both positions but no luck. Any
special sauce I'm missing in my attempt?
…On Tue, Feb 12, 2019 at 11:09 PM TG-Techie ***@***.***> wrote:
Best of luck tonight, sleep well too
On Tue, Feb 12, 2019 at 11:08 PM TG-Techie ***@***.***> wrote:
> 😁
>
> On Tue, Feb 12, 2019 at 11:08 PM ladyada ***@***.***>
> wrote:
>
>> all good - im just letting u know how to fix asap :)
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub
>> <#1540 (comment)>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/AldwjKJQ8cIcRIq6sAjuy0v9roWJU6nbks5vM4-5gaJpZM4a4hH1>
>> .
>>
>
|
Author
|
and it wiped itself a few times today
…On Wed, Feb 13, 2019 at 8:15 AM TG-Techie ***@***.***> wrote:
I'm trying to get it working with spi I switched the mode jumper to 3v3
and tried the TFT_RS to SCK jumper in both positions but no luck. Any
special sauce I'm missing in my attempt?
On Tue, Feb 12, 2019 at 11:09 PM TG-Techie ***@***.***> wrote:
> Best of luck tonight, sleep well too
>
> On Tue, Feb 12, 2019 at 11:08 PM TG-Techie ***@***.***> wrote:
>
>> 😁
>>
>> On Tue, Feb 12, 2019 at 11:08 PM ladyada ***@***.***>
>> wrote:
>>
>>> all good - im just letting u know how to fix asap :)
>>>
>>> —
>>> You are receiving this because you were mentioned.
>>> Reply to this email directly, view it on GitHub
>>> <#1540 (comment)>,
>>> or mute the thread
>>> <https://github.com/notifications/unsubscribe-auth/AldwjKJQ8cIcRIq6sAjuy0v9roWJU6nbks5vM4-5gaJpZM4a4hH1>
>>> .
>>>
>>
|
Author
|
oops: wrong thread |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@jerryneedell suggested the pins could be wrong when I told him I was getting reading that didn't change, having corrected the pinout to match the schematic I was given it now works!
used: