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

Compile problems for me #1

Open
dunk8888 opened this issue Apr 14, 2017 · 8 comments
Open

Compile problems for me #1

dunk8888 opened this issue Apr 14, 2017 · 8 comments

Comments

@dunk8888
Copy link

Hi is it possible you could compile the exacutable for this code,i take its for controll of the tiny led 12C firmware side. thanks

@sre
Copy link
Member

sre commented Apr 14, 2017

well I could send you a binary, but I suggest you compile it yourself instead. If you only want the i2c-led code the following should be enough:

apt-get install build-essential libi2c-dev libmosquitto-dev
cd i2c-led
make

@dunk8888
Copy link
Author

dunk8888 commented Apr 16, 2017 via email

@dunk8888
Copy link
Author

dunk8888 commented Apr 16, 2017 via email

@sre
Copy link
Member

sre commented Apr 16, 2017

I build binaries for Linux, which will not work on Windows, since it uses a different binary format than Linux (PE instead of ELF). Also my code uses the Linux i2c-dev interface, which is obviously not provided by Windows.

@scottdwhitney
Copy link

Hi sre,

Could you describe the configuration of the ATtiny85 system on which you ran these examples? Is there an off-the-shelf board with the right configuration of components to run these? I am especially interested in the tiny-led-firmware example. I believe you used an external crystal oscillator, judging from the fuse settings in your makefile. Is this correct?

Any pointers you might have to the actual hardware design (at least for the processor and debugger interface) would be greatly appreciated.

Thanks!

surrealist14

@sre
Copy link
Member

sre commented Nov 1, 2021

@scottdwhitney I used a digispark clone with a MicroUSB connector, which was lying around in the hackerspace (USB is not functional with the firmware). It does not have an external crystal oscillator and the fuses are configured to use the internal one at 8MHz.

P0 = SDA
P1 = WS2812
P2 = SCL
P3 = MODE GPIO

Programming is done via ISP.

@scottdwhitney
Copy link

scottdwhitney commented Nov 2, 2021 via email

@sre
Copy link
Member

sre commented Nov 2, 2021

Did you have to disable/remove the USB circuitry that was connected to the Digispark clone? E.g. the Zener diodes and resistors?

I used the Digispark clone without any modifications. The I2C bus needs pull-up resistors somewhere, though.

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