Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing pins on flick #61

Open
milajo2 opened this issue Feb 3, 2021 · 10 comments
Open

changing pins on flick #61

milajo2 opened this issue Feb 3, 2021 · 10 comments

Comments

@milajo2
Copy link

milajo2 commented Feb 3, 2021

Hi,

I was wondering if I can re-assign the pin values to assign elsewhere on the raspberry pi if so what configuration document would I have to change?

@shawaj
Copy link
Member

shawaj commented Feb 4, 2021

@milajo2 which Flick board are you using?

@milajo2
Copy link
Author

milajo2 commented Feb 4, 2021

@milajo2 which Flick board are you using?
The flick large

@milajo2
Copy link
Author

milajo2 commented Feb 4, 2021

Also is their possibility of how could use the flick large on Arduino I have an arduino mega 2560

@tvoverbeek
Copy link
Collaborator

Flick large needs I2C (SCL and SDA), 2 GPIOs for Transfer and Reset, VCC, Ground and optionally 2 GPIOs for the Red/Green LED.
You can reassign pins to other GPIOs and I2C (e.g. Pi4 has several I2C possibilities).
Of course you need to modify the flicklib code if you change the I2C bus and any of the other GPIOs.

The Flick uses the same chip as the Pimoroni Skywriter. In their github you will find code for Arduino using the Wire library for I2C. Should work on the Mega2560 which even has 2 I2C buses.
See https://github.com/pimoroni/skywriter-hat/tree/master/arduino

@milajo2
Copy link
Author

milajo2 commented Feb 4, 2021

I have to design a project using an rgb LED matrix and this flick board, is there a possibility that I could get this working with the RPI and get my rgb LED matrix working with arduino and combine the two together to get them operating together? As at the moment my LED's aren't working with my RPI and I fully haven't figured out how to get the flick working with the arduino.

@milajo2
Copy link
Author

milajo2 commented Feb 4, 2021

I've used your advice I'm now getting this message
test1

@tvoverbeek
Copy link
Collaborator

On your screenshot the serial monitor is on 9600 baud. In your code above you initialise it to 115200 baud.
Try changing the serial monitor baud setting to 115200.

@milajo2
Copy link
Author

milajo2 commented Feb 4, 2021

I apologise I now get this.

1

@milajo2
Copy link
Author

milajo2 commented Feb 4, 2021

my flick no longer works with my raspberry pi
PXL_20210204_200208470
PXL_20210204_200154001

@shawaj
Copy link
Member

shawaj commented Feb 5, 2021

@milajo2 are you sure it was connected to correctly?

It could also be an issue with the firmware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants