Arduino SoftwareSerial library wrapper | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
Arduino SoftwareSerial library wrapper
September 6, 2015
4:45 pm
Avatar
LubomirJagos
Member
Members
Forum Posts: 21
Member Since:
August 4, 2015
sp_UserOfflineSmall Offline

Hi guys,

it's not so long what I got this compiler, because I think that's great that LabVIEW is now able to deploy for this platform. Last time when I was playing with arduino I was using mostly SoftwareSerial library, because with it I was able connect more than only one device for my arduino, so I decided port it for LabVIEW.

I try to do that for last 2 days and finally succeeded. This library is putting in generate code after include directives pointer for SoftwareSerial and then you can configure it with other VIs. I tested transmitting and receiving chars with another arduino and also board with USB interface and it looked OK. I'm using global pointer, so I implemented 3 times the same (I tried automatize this to be able create infinity amount of them, but in 2 days I was unsuccesful, so I made it like this, I hope that 3 are enough, if not, it's possible to put there others).

There is one rule in using it, that VIs with same colour in top of icon are manipulating with the same SoftwareSerial instance.SoftwareSerialWrapper_own_pallete.pngImage Enlarger

There are also testing scripts to be able first test it, if it's running for you (I tried Leonardo and chinese UNO, both OK). So if you're interested how it's running just take look for Translator.vi I used default password 'template'

I finished it right now, so I would need to put there more documentation and used it in some project to verify that it's running.

Enjoy.

September 7, 2015
3:53 am
Avatar
filipealtoe
Admin
Forum Posts: 98
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Hi Lubomir;

 

Awesome work! Thanks for publishing this library.

Filipe

Cheers
Filipe

September 18, 2015
2:35 pm
Avatar
ehrenfeld
Member
Members
Forum Posts: 4
Member Since:
June 24, 2015
sp_UserOfflineSmall Offline

HI Lubomir !;

Thanks for this library

 

Francis

September 29, 2015
10:52 pm
Avatar
LubomirJagos
Member
Members
Forum Posts: 21
Member Since:
August 4, 2015
sp_UserOfflineSmall Offline

Hi, nice to hear that's useful for you. I hope that's working fine.

April 14, 2018
4:13 pm
Avatar
wegunterjr
Member
Members
Forum Posts: 23
Member Since:
August 25, 2015
sp_UserOfflineSmall Offline

I feel like this library is missing the part that tells the compiler what to do... no reference to the software serial library..

Or is it me...am I missing something?

 

Are the libraries we create for new arduino code required to be in a certain place?

April 19, 2018
10:17 pm
Avatar
wegunterjr
Member
Members
Forum Posts: 23
Member Since:
August 25, 2015
sp_UserOfflineSmall Offline

I was able to install the LIbrary vip from github but cannot successfully compile a project using software serial:

1.0.0.21, FireBeetle-ESP32
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
C:\Users\gunterwe\AppData\Local\Temp\58e9973bb6e2e908c6c199f5a9d39075.tmp\temp\temp.ino:10:28: fatal error: SoftwareSerial.h: No such file or directory

compilation terminated.

exit status 1

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
25
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356