Skip to content

Add C.H.I.P support#150

Open
mzealey wants to merge 2 commits intosui77:masterfrom
mzealey:master
Open

Add C.H.I.P support#150
mzealey wants to merge 2 commits intosui77:masterfrom
mzealey:master

Conversation

@mzealey
Copy link
Copy Markdown

@mzealey mzealey commented Jun 8, 2017

This patch adds support for the CHIP (http://getchip.com) device using the
CHIP_IO libraries.

Note: Depends on xtacocorex/CHIP_IO#70

This patch adds support for the CHIP (http://getchip.com) device using the
CHIP_IO libraries.
mzealey added a commit to mzealey/433Utils that referenced this pull request Jun 8, 2017
Combined with CHIP support in rc-switch
sui77/rc-switch#150, this uses the RPI base to make it
work on the CHIP board too.
Comment thread RCSwitch.h
void transmit(HighLow pulses);

#if not defined( RCSwitchDisableReceiving )
static void handleInterrupt(int gpio, void* data);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should have #if defined(GETCHIP) around it

Comment thread RCSwitch.cpp
void RECEIVE_ATTR RCSwitch::handleInterrupt(int gpio, void* data) {
RCSwitch::handleInterrupt();
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should have #if defined(GETCHIP) around it

@mzealey
Copy link
Copy Markdown
Author

mzealey commented Jun 12, 2017

Believe I fixed the issue you raised, and CHIP_IO library has had the necessary patch merged in

@roccomuso
Copy link
Copy Markdown

:) That's what i was looking for.

@mzealey
Copy link
Copy Markdown
Author

mzealey commented Sep 3, 2017

Hi there, not sure this was ever merged? Are there any outstanding issues?

@benaduggan
Copy link
Copy Markdown

Hey, I'm also wondering if there is a reason this hasn't been merged in yet. Thanks!

@apiel
Copy link
Copy Markdown

apiel commented Dec 6, 2017

I guess it haven't been merged because the change would mainly belong to WProgram.h or maybe you could even use wiringPi on C.H.I.P
But it would be actually great to have some way to provide example for other platform than arduino...

@puskyer
Copy link
Copy Markdown

puskyer commented Oct 13, 2019

Did anyone ever get this compiles, i get a number of errors. i can not find any reference fir getchip in rc-switch.h or rc-switch.cpp?

cheers,

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

Successfully merging this pull request may close these issues.

6 participants