An application of ATtiny with SD card is complicated due to missing of hardware SPI in attiny. The "ATmega" code for creating of a "SD file" is:
#include <SPI.h>
#include <SD.h>
File file;
int const pinCS = 2;
void setup()
{
SD.begin(pinCS);
file = SD.open("Test.txt", FILE_WRITE);
file.println("anything");
file.close();}
void loop()
{}
This code creates on SD card a file "Test.txt" and to this file records text "anathing". Is it possible to rewrite this code for "ATtiny85"?