Code for demo of EMC2101

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Mhov
 
Posts: 14
Joined: Wed Apr 13, 2016 3:31 pm

Code for demo of EMC2101

Post by Mhov »

Can I get the code for this demo. Including the feather board, oked, and EMC2101. This is exactly what I want to build but can't figure out how to dev code. Nube.
https://youtu.be/jKwln3jQrQA

User avatar
adafruit_support_carter
 
Posts: 29457
Joined: Tue Nov 29, 2016 2:45 pm

Re: Code for demo of EMC2101

Post by adafruit_support_carter »

There's an Arduino sketch here:
https://github.com/adafruit/Adafruit_EM ... d_test.ino

It looks like it might be slightly different based on the display.print() lines. But it has the basic code needed for a 128x32 OLED.

User avatar
Mhov
 
Posts: 14
Joined: Wed Apr 13, 2016 3:31 pm

Re: Code for demo of EMC2101

Post by Mhov »

Awesome. Thank you!

User avatar
Mhov
 
Posts: 14
Joined: Wed Apr 13, 2016 3:31 pm

Re: Code for demo of EMC2101

Post by Mhov »

One other question, I was trying to use Makecode to program this but can't load the EMC2101 drivers into the simulator. I tried via the add attributes. Is this supported on the Adafruit makecode platform?

User avatar
adafruit_support_carter
 
Posts: 29457
Joined: Tue Nov 29, 2016 2:45 pm

Re: Code for demo of EMC2101

Post by adafruit_support_carter »

There are only Arduino and CircuitPython drivers available for the EMC2101:
https://learn.adafruit.com/emc2101-fan- ... ure-sensor

User avatar
Mhov
 
Posts: 14
Joined: Wed Apr 13, 2016 3:31 pm

Re: Code for demo of EMC2101

Post by Mhov »

Can I take the corcuitpython code for the emc2101 and paste it into the microcode platform? If yes, would that code get merged with the code i already have built with the vlock cide? Again newbe here. Trying to learn and do some if this myself.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”