Hi,
Can we use the 4 digit item with GrovePi and Scratch ? How ?
Thx a lot
Hi @johan.guillot ,
I’m afraid I don’t understand what you’re referring to. What do you mean about “4 digit” ?
Thank you!
Hi,
The four digit element i have is this one :
https://goo.gl/images/EeXhkY
Thx
Hi @johan.guillot ,
Well, you can use it with your GrovePi just fine. Here’s an example:
#!/usr/bin/env python
#
# GrovePi Example for using the Grove 4 Digit Display ( http://www.seeedstudio.com/wiki/Grove_-_4-Digit_Display)
#
# The GrovePi connects the Raspberry Pi and Grove sensors. You can learn more about GrovePi here: http://www.dexterindustries.com/GrovePi
#
# Have a question about this example? Ask on the forums here: http://forum.dexterindustries.com/c/grovepi
#
'''
## License
The MIT License (MIT)
GrovePi for the Raspberry Pi: an open source platform for connecting Grove Sensors to the Raspberry Pi.
Copyright (C) 2017 Dexter Industries
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
This file has been truncated. show original
Now, as to whether it works with Scratch or not, we have to ask @cleoqc for this.
Thank you!
cleoqc
March 29, 2018, 8:49pm
5
There is no support in Scratch as of now for the 4 digit display. In fact, I just learned that there is support in Python. I didn’t even know that… Thanks @RobertLucian !
I’ll do my best to implement it but it might take me a couple of weeks before I can get to it, unfortunately.
Cleo
Yes, it works fine with python, I tried.
The problem is that I use scratch with my students…
Thanks both of you (each time I have a pb).
I’ll try differently. No pressure