Comments (4)
+1, one sample code would be nice.
Here is what I wrote, but my code is locked in cc1100_sent_packet function.
BR
#include "cc1100_arduino.h"
CC1100 cc1101;
uint8_t Rx_fifo[10];
uint8_t Rx_addr, Tx_addr, Pktlen, Lqi;
int8_t Rssi_dbm;
uint8_t Tx_fifo[20];
uint8_t My_addr;
uint8_t Patable[8];
void setup()
{
Serial.begin(38400);
Serial.println("start");
uint8_t theRet = cc1101.cc1100_init();
Serial.print("initializing: ");
Serial.println(theRet);
theRet = cc1101.cc1100_wakeup();
Serial.print("wakeup: ");
Serial.println(theRet);
}
void loop()
{
while(1)
{
Serial.print("send: ");
uint8_t buf[]={0xFE, 0xED, 0xBA, 0xBE};
uint8_t theRet = cc1101.cc1100_sent_packet(0x00000000, 0x00000001, buf, sizeof(buf));
Serial.println(theRet);
delay(1000);
}
}
from cc1101.
Did you flash the eeprom file to the arduino first?
Am 21.03.2016 um 21:59 schrieb o0Zz [email protected]:
+1, one sample code would be nice.
Here is what I wrote, but my code is locked in cc1100_sent_packet function.
BR
#include "cc1100_arduino.h"
CC1100 cc1101;
uint8_t Rx_fifo[10];
uint8_t Rx_addr, Tx_addr, Pktlen, Lqi;
int8_t Rssi_dbm;
uint8_t Tx_fifo[20];
uint8_t My_addr;
uint8_t Patable[8];void setup()
{
Serial.begin(38400);
Serial.println("start");uint8_t theRet = cc1101.cc1100_init();
Serial.print("initializing: ");
Serial.println(theRet);theRet = cc1101.cc1100_wakeup();
Serial.print("wakeup: ");
Serial.println(theRet);
}void loop()
{while(1)
{
Serial.print("send: ");
uint8_t buf[]={0xFE, 0xED, 0xBA, 0xBE};
uint8_t theRet = cc1101.cc1100_sent_packet(0x00000000, 0x00000001, buf, sizeof(buf));
Serial.println(theRet);
delay(1000);
}
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
from cc1101.
Not at all, however i can see some default setting for eeprom. I supposed default settings should works, isn't it ?
I'm interrested having this file. can you share it ?
Thanks.
from cc1101.
examples and eeprom utility is available now
from cc1101.
Related Issues (20)
- Will the TX_Demo and RX_Demo work on one raspberry pi at the same time? HOT 2
- Using CC1101 to Sniff 433Mhz for RF controls and sensors on Raspberry
- Tx is working, however Rx does not register any received signal. Antennas confirmed working.
- Noob problems HOT 6
- TX-only without addressing HOT 1
- Some question for porting to ESPxx HOT 1
- send txbuffer
- Message blocking
- Please Add a License HOT 1
- CC1101 detected, but demo transmit fails HOT 3
- Should the first byte of tx buffer be length byte ?
- Usability for USB (UART silabs cp210x) connected CC1101 HOT 2
- Arduino. TX. Hang in receive() -> sidle() after initialization.
- Use function
- Receive raw data for replay HOT 1
- Problems with Raspbian Bullseye HOT 4
- Issue with interfacing HOT 1
- Sending data from RPI to Arduino HOT 1
- No output after 'Init CC1100...' (Arduino) HOT 5
- RX_Demo using 315Mhz ASK/OOK door bell as a test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cc1101.