Search found 12 matches

by DStoyankov
Mon Apr 29, 2024 7:50 am
Forum: General
Topic: 9bit UART - Arduino Mega 2560
Replies: 9
Views: 1126

Re: 9bit UART - Arduino Mega 2560

I am using version 10, with commercial license full package.

call_UART::RETURN - 16 bits : "16 bit data mode returns 0-255 for valid data, 256 for a timeout" - This is hint from combobox
by DStoyankov
Mon Apr 29, 2024 6:37 am
Forum: General
Topic: 9bit UART - Arduino Mega 2560
Replies: 9
Views: 1126

Re: 9bit UART - Arduino Mega 2560

No, it isn't. 0.511 is a float type, 4 bytes. A 9-bit symbol is of type byte + flag bit, that is, the maximum number is 511 - b111111111. When making a buffer of 9-bit numbers with bytes - the odd ones are the 9th bit, that is, 0 or 1, and the even ones are the lower 8 bits, but the idea is that bot...
by DStoyankov
Sun Apr 28, 2024 4:11 pm
Forum: General
Topic: 9bit UART - Arduino Mega 2560
Replies: 9
Views: 1126

Re: 9bit UART - Arduino Mega 2560

My idea is I get into a interrupt when receiving data, but how do I get to UCSRnB. This is code from datasheet: C Code Example: unsigned int USART_Receive( void ) { unsigned char status, resh, resl; /* Wait for data to be received */ while ( !(UCSRnA & (1<<RXCn)) ) ; /* Get status and 9th bit, then ...
by DStoyankov
Sun Apr 28, 2024 10:14 am
Forum: General
Topic: 9bit UART - Arduino Mega 2560
Replies: 9
Views: 1126

9bit UART - Arduino Mega 2560

Hello,
How to receive and send 9 bit data on the serial port - Arduino Mega 2560 ?
by DStoyankov
Sun Apr 28, 2024 9:18 am
Forum: Bug Reports
Topic: Timer interval and Timer - problem
Replies: 14
Views: 2638

Re: Timer interval and Timer - problem

Thanks! Everything is OK
by DStoyankov
Fri Apr 26, 2024 5:21 pm
Forum: Bug Reports
Topic: Timer interval and Timer - problem
Replies: 14
Views: 2638

Re: Timer interval and Timer - problem

Thanks! Only with Timer it worked. After I added a timer interval again error
by DStoyankov
Fri Apr 26, 2024 3:53 pm
Forum: Bug Reports
Topic: Timer interval and Timer - problem
Replies: 14
Views: 2638

Re: Timer interval and Timer - problem

PIC24FJ1024GA606 - Timer library not working
by DStoyankov
Fri Apr 26, 2024 3:51 pm
Forum: Bug Reports
Topic: Timer interval and Timer - problem
Replies: 14
Views: 2638

Re: Timer interval and Timer - problem

ARDUINO MEGA 2560 R3 - Update library and not working Timer library.
by DStoyankov
Fri Apr 26, 2024 2:47 pm
Forum: Bug Reports
Topic: Timer interval and Timer - problem
Replies: 14
Views: 2638

Re: Timer interval and Timer - problem

Only Timer component, Timer = Timer 1 - not working
by DStoyankov
Fri Apr 26, 2024 12:11 pm
Forum: Bug Reports
Topic: Timer interval and Timer - problem
Replies: 14
Views: 2638

Re: Timer interval and Timer - problem

The problem is not solved. Target folder: D:\FLOW_PROJECT\simulator_EXECUTIVE Source name: D:\FLOW_PROJECT\simulator_EXECUTIVE\Flowcode2.fcfx Title: Description: Device: ARD.ATMEGA.ATMEGA2560 Generated by: Flowcode v10.1.0.38 Date: Friday, April 26, 2024 14:06:25 Users: 1 Registered to: DStoyankov (...