Comments (5)
It should work without modification, do you have any place where I can download the files and test it?
from deviot.
Here is a sample project: https://dl.dropboxusercontent.com/u/7038123/pde-test.zip
It's using this library: https://github.com/gioblu/PJON
from deviot.
Sorry for the delay @thomsna
I'll copy the answer from the PlatformIO team
I think that approach with alphabetically sorted .pde files is quite limited, but you always can include one .pde file into other via #include "file.pde" with "include guard"
a-test.pde:
#ifndef _A_TEST_PDE_
#define _A_TEST_PDE_
#include <PJON.h>
#endif //_A_TEST_PDE_
z-main.pde:
#include "a-test.pde"
PJON network(12); // Bus connection to pin 12
void setup() {
PJON network(12, 45); // Bus connection to pin 12
network.send(44, "B", 1, 1000000);
// Send to device 44, "B" content of 1 byte length every 1000000 microseconds (1 second)
}
void loop() {
network.update();
}
If you try that example it's working now.
Additionally, the PlatformIO team has included the PJON library in his library manager. So now you can go to Deviot > Search Library
search PJON
and install the library with a few clicks.
from deviot.
Your solution works, thanks.
You're right, it's much more flexible that way.
from deviot.
I'm happy to help you
from deviot.
Related Issues (20)
- Support for python3 HOT 6
- Poorly colored .ino source
- bad cpu type in executable
- As platformio now requires python 3.x while Deviot requires 2.x, is Deviot no more ? Any work-around ? HOT 3
- Most buttons do nothing HOT 1
- Japanese Language missing
- the board list won't open HOT 4
- Python 3, pio cannot upgrade? HOT 1
- Sublimetext 4 no deviot HOT 4
- ST4 install library fail HOT 5
- Guide: Running Deviot with ST3 / ST4, PlatformIO 5, and Python 3.6+ HOT 10
- OSX: Serial ports not showing on big Sur HOT 2
- ST4: serial monitor footer colors
- not reconigced
- MacOS examples shows nothing
- can't see devio menu HOT 4
- Guide: Fix Deviot menu & syntax highlighting missing HOT 1
- python HOT 1
- Select board HOT 5
- Select Board Not Working After Installing Deviot HOT 1
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 deviot.