Giter Club home page Giter Club logo

attinyserialout's People

Contributors

arminjo avatar nuxeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

attinyserialout's Issues

Readme does not reflect the change made to TX_PIN in 2.2.0

In the readme it states:
image

This feature was changed in 2.2.0 to use a different naming convention for ATTiny pins. TX_PIN now defaults to PIN_PB2 instead of PB2.

image

Could you please update the readme to reflect changes as this lead to a breaking change for me.

Incompatibilities with other libraries

When I include this library first, before any of these libraries, I get the below errors, can these be fixed such that this doesn't happen? Note that I did find that if I include this ATtinySerialOut library after these other libraries the issue goes away, so it seems related to definitions somehow.

Libraries incompatible:
wire.h - ATTinyCore I2C library
Adafruit_PFC8574 (which uses Adafruit BusIO)

In file included from C:\Users\user\Documents\Arduino\EEPROMRead\eepromread.ino\eepromread.ino.ino:6:0:
C:\Users\user\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2\libraries\Wire\src/Wire.h:101:18: error: type 'TinySerialOut' is not a base type for type 'TwoWire'
     using Print::write;
                  ^~~~~
In file included from c:\Users\user\Documents\Arduino\libraries\Adafruit_PCF8574/Adafruit_PCF8575.h:21:0,
                 from C:\Users\user\Documents\Arduino\EEPROMRead\eepromread.ino\eepromread.ino.ino:9:
c:\Users\user\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_BusIO_Register.h:74:26: error: could not convert '& SerialOut' from 'TinySerialOut*' to 'Stream*'
   void print(Stream *s = &Serial);
c:\Users\user\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_BusIO_Register.h:75:28: error: could not convert '& SerialOut' from 'TinySerialOut*' to 'Stream*'
   void println(Stream *s = &Serial);

Easily Replicate:

#include <Arduino.h>
#include "ATtinySerialOut.hpp"
#include <Wire.h>
#include <Adafruit_PCF8575.h>

void setup(void) {
}
void loop(void) {
}

Send ASCII commands to terminal?

Hi, great work!
Is it possible to send from your library a sequence for clear the terminal?

I want something similar to:

Serial.write(27);       //ESC command
Serial.print("[2J");    //clear screen command
Serial.write(27);
Serial.print("[H");     //cursor to home command 

But I can't make it work.
How can I achieve it?

Regards!

ATTiny88 + TX on PIN_PC1 not working for me :(

Cannot getting it working on ATtiny88@8MHz(internal) + ATTinyCore 1.5.2
I must do something wrong, here is my code :

#include <Arduino.h> // required for main()
#define TX_PIN PIN_PC1
#include "ATtinySerialOut.hpp"

void setup()
{
      initTXPin();
}

void loop()
{
      writeString("TEST\n");
      delay(1000);
}

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.