1mul for Pic16LF18346 with Strings
eta-sys
released this
20 Apr 14:01
·
80 commits
to master
since this release
Version supports Strings and string operations. This gives the opportunity user program to receive and send data using USART. In 'Examples' you will find out how to deal with serial interface.
You may use:
- 5 tasks
- 3 Pipes in overall, up to 3 Pipes attached to one interface Unit
- 5 Strings
- max. console row capacity 60 bytes
- max. string length 40 bytes
- different interfaces count 4
- ml-program: up to 100 rows, max. size 512 bytes
- 8 Timers
- 8 Analogs
- 8 Inputs
- 8 Outputs
- 8 Variables - 16bits signed
- 8 Flags
- up to 3 channel PWM
- RTClock with day of week calculator.
I/O/A pins you may use 3,5,6,7,8,9,10,11,12,13,14,15,16,17.
pin 2 dedicated for LED, connected to Vdd in series with 1k resistor.
pin 4 MCLR, so connect to Vdd for work.
pin 18 Serial Rx
pin 19 Serial Tx
pin 17 RS485 Rx/Tx switch
Console runs 9600, 8N1, CR+LF.
When uploading ml program use 'Send file line by line' option from 'Send File' menu of 'MySerial'.